bugGuile - Bugs: bug #31682, enum-set-union not working on...

 
 

bug #31682: enum-set-union not working on defined enumerations

Submitter:  G. Weinholt <weinholt>
Submitted:  Wed 17 Nov 2010 01:58:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  juliang
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Nov 2010 08:39:57 PM UTC, comment #2: 

Resolved by commit 015a4aaedb9e8dd839b481bc83ac5b9f88e63a81.

Julian Graham <juliang>
Group Member
Fri 19 Nov 2010 04:11:12 PM UTC, comment #1: 

Julian has once again agreed to take a look. Thanks Julian! :)

Andy Wingo <wingo>
Group administrator
Wed 17 Nov 2010 01:58:42 PM UTC, original submission:  

The enum-sets created by a constructor from define-enumeration do not work with enum-set-union, an exception is raised:

GNU Guile 1.9.13.58-b98d5a
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (define-enumeration color
...   (black white purple maroon)
...   color-set)
scheme@(guile-user)> (enum-set-union (color-set black) (color-set white))
Throw to key `r6rs:exception' with args `(#<r6rs:record:&raise-object-wrapper>)'.

G. Weinholt <weinholt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by juliang (Posted a comment)
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by weinholt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-21 juliang StatusNone Fixed
        Open/ClosedOpen Closed
    2010-11-19 wingo Assigned toNone juliang

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code