[r6rs-discuss] [Formal] Add a multi-file library example

From: William D Clinger <will>
Date: Tue Nov 14 18:07:42 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
Received on Tue Nov 14 2006 - 18:07:36 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC