[r6rs-discuss] [Formal] Add a multi-file library example
William D Clinger
will at ccs.neu.edu
Tue Nov 14 18:07:36 EST 2006
For a multi-file example using libraries, see the
current reference implementation of (r6rs unicode)
at
http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/unicode-library/unicode.sch
http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/unicode-library/unicode1.sch
http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/unicode-library/unicode2.sch
That code contains at least one relevant bug: it is illegal
for unicode1.sch define char=?, char<?, char>?, char<=?,
and char>=?, since those identifiers are imported from
(r6rs base). (The code was tested by faking the library
form with a quick-and-dirty R5RS macro, which did not check
for such errors. Sorry.)
Will
More information about the r6rs-discuss
mailing list