[plt-scheme] r6rs collection
At Thu, 28 Jun 2007 12:17:35 -0400, "David Van Horn" wrote:
> I've been trying to experiment with the r6rs collection, but I'm
> having trouble writing a working example of a r6rs library.
>
> I have in collects/r6rs/foo.ss:
>
> #reader(lib "library.ss" "r6rs")
> (library "foo" "scheme://r6rs"
> (import)
> (export)
> 1)
>
> But then when I require (lib "foo.ss" "r6rs"), I get:
>
> unknown module: |,/Applications/plt/collects/r6rs/bar|
>
> Any ideas on what I am doing wrong?
It may have something to do with the "r6rs.ss" module requiring `(lib
"r5rs.ss" "r5rs")' instead of `(lib "r5rs.ss" "lang")'. The former
changes the top-level namespace, which can lead to all kinds of
trouble.
I changed "r6rs.ss" in revision 6755, but I think we should move this
collection to the graveyard area in SVN...
Matthew