[R6RS] Enumerations proposal pre-draft

Michael Sperber sperber at informatik.uni-tuebingen.de
Sun Apr 23 06:20:26 EDT 2006


Many thanks for writing this up!

William D Clinger <will at ccs.neu.edu> writes:

> I took the liberty of adding a few features, mainly to
> show why I think it is better to add new functions than
> new types.

Could you give a hint as to what features those are exactly?

> <type-name> will be a procedure of no arguments that returns symbols
> that comprise the enumeration type, in the same order as they were
> specified.  

Why isn't <type-name> simply the list itself?

Is this:

> (color-index (color purple))       => 2
               ^^^^^^^^^^^^^

supposed to be 'purple?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the R6RS mailing list