[r6rs-discuss] [Scheme-reports] [scheme-reports] Scheme pattern matching & R*RS

Andre van Tonder andre at het.brown.edu
Fri Jan 21 18:07:26 EST 2011


On Fri, 21 Jan 2011, Jim Wise wrote:

> Andre van Tonder <andre at het.brown.edu> writes:
>
>> Just note, FWIW, that R6RS library semantics have no such thing as
>> "overriding". You would need to do a complicated EXCEPT import to exclude
>> the usual WG1 meanings.
>
> Actually, (prefix ...) is both safer than (except ..._) (a particular
> implementation may have additional forms in the library beyond what's
> required by WG2), and simpler to use:
>
>       (import (prefix (rnrs match) match:))

They were talking about overriding LAMBDA, etc.



More information about the r6rs-discuss mailing list