Andre van Tonder <an...@het.brown.edu> 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 jw...@draga.com
pgpz0eUM0E0xU.pgp
Description: PGP signature
_______________________________________________ r6rs-discuss mailing list r6rs-discuss@lists.r6rs.org http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss