John Cowan <cowan_at_ccil.org> writes:
> Michael Sperber scripsit:
>
>> Did you see that a `file-options' evaluates to an enum-set? That
>> makes it possible to construct a file-options object from a list of
>> symbols, for example. The `file-options' form is convenience syntax
>> for the (by-far most) common case, and the bootstrap to get you into
>> the appropriate enum set, where all kinds of kung fu are available.
>
> Ah. Request withdrawn in favor of providing an example of this usage.
You mean like this?
(define (list->file-options l)
((enum-set-constructor (file-options)) l))
(Untested, but you get the idea.)
--
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Oct 05 2006 - 07:42:59 UTC