[R6RS] modules?
Matthew Flatt
mflatt
Thu May 27 15:09:10 EDT 2004
At Thu, 27 May 2004 21:02:47 +0200, Michael Sperber wrote:
> Matthew> (module foo (lib "unit.ss")
> Matthew> (import "baz-sig.ss")
> Matthew> (export "foo-sig.ss")
>
> But this means that you have to write the MODULE form in this way to
> start with, no? Or do you see a way to use the *existing* MODULE
> form in this manner?
The existing module form in MzScheme works, because there's an implicit
use of `#%module-begin' around a module body --- like the implicit
`#%app' for an application --- and `(lib "unit.ss")' could define its
own.
Matthew
More information about the R6RS
mailing list