[r6rs-discuss] [Formal] Drop enumerations library?

AndrevanTonder andre at het.brown.edu
Fri Nov 3 06:26:53 EST 2006


On Fri, 3 Nov 2006, Michael Sperber wrote:

> (Unless you have a complaint about the
> specific design of the R6RS library.)

Not specifically, except that, as I stated in another comment, an 
enumeration-case operation that checks exhaustiveness at expand-time would be 
natural and convenient to have.

>> On the other hand, while I have been arguing for leaving enumerations
>> out, I was wondering why enumerations, given that they are in the
>> report, are not used for record field name sets, which seems to be a
>> natural application of them.
>
> Because the record field names are ordered, I would think.

So are enumeration sets, if I understand enum-set-indexer correctly.  But I had 
forgotten that record field names can be repeated, which would disqualify 
enum-sets for them.

Cheers
Andre



More information about the r6rs-discuss mailing list