Andre van Tonder <andre@x> writes: > On Fri, 21 Jan 2011, Jim Wise wrote: > >> John Cowan's suggestion of naming the module-provided forms of >> these such that they override the corresponding core forms on import (by >> default) seems a good compromise > > 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:)) alternately, if you only want the `match' form (the only form in the (rnrs match) library that does not override a core form), you could do: (import (only (rnrs match) match)) However, I think the details of library/module imports and exports are on the table for R7RS; not sure if I remember that correctly. -- Jim Wise jwise@x
Attachment:
pgpcxqKlyFdab.pgp
Description: PGP signature
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports