* [bug #31682] enum-set-union not working on defined enumerations
@ 2010-11-17 13:58 Göran Weinholt
2010-11-19 16:11 ` Andy Wingo
0 siblings, 1 reply; 3+ messages in thread
From: Göran Weinholt @ 2010-11-17 13:58 UTC (permalink / raw)
To: Göran Weinholt, bug-guile
URL:
<http://savannah.gnu.org/bugs/?31682>
Summary: enum-set-union not working on defined enumerations
Project: Guile
Submitted by: weinholt
Submitted on: Wed Nov 17 14:58:42 2010
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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>)'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-21 20:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 13:58 [bug #31682] enum-set-union not working on defined enumerations Göran Weinholt
2010-11-19 16:11 ` Andy Wingo
2010-11-21 20:39 ` Julian Graham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).