[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Göran Weinholt
Subject: [bug #31682] enum-set-union not working on defined enumerations
Date: Wed, 17 Nov 2010 13:58:42 +0000
User-agent: Mozilla/5.0


                 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



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

GNU Guile
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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]