[R6RS] modules?

Matthew Flatt mflatt
Mon May 24 21:38:41 EDT 2004


At Sat, 22 May 2004 18:11:23 +0200, Michael Sperber wrote:
> >>>>> "Matthew" == Matthew Flatt <mflatt at cs.utah.edu> writes:
> 
> Matthew> I remain convinced that MzScheme's `module' is compatible
> Matthew> with a low-overhead component system, but I can't point to an
> Matthew> implementation.
> 
> I should mention that MzScheme comes with a poor-man's version
> already: You can just set the PLTCOLLECTS environment variable,
> changing the "module environment" a piece of code runs under.

Perhaps we should work harder to disallow that. PLTCOLLECTS is meant to
configure PLT for a particular filesystem, and it's not meant for
parameterization.

> However, I'd say that, for R6RS, it would be desirable to establish
> some kind of global namespace for libraries so that combining several
> sets of libraries doesn't lead to conflict.

Agreed. 

Meanwhile, PLT will still need something like PLTCOLLECTS to point to a
local "copy" of code in the global namespace, right?

Matthew



More information about the R6RS mailing list