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

From: AndrevanTonder <andre>
Date: Fri Nov 3 06:30:30 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
Received on Fri Nov 03 2006 - 06:26:53 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC