On Aug 7, 2008, at 4:35 PM, Göran Weinholt wrote:
> first time poster, long time reader. I just noticed that there is no
> `enum-set?' function. Is this an error in R6RS, or how do I check if
> something is an enumeration?
I think it's an error in R6RS. Until it's fixed (or not), you can
probably do:
(define (enum-set? x)
(guard (con [else #f])
(enum-set-subset? (make-enumeration '()) x)))
and ask your implementor to export enum-set?.
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss