[R6RS] modules

R. Kent Dybvig dyb
Tue Aug 24 14:43:29 EDT 2004


> Yes. The key is to instantiate the module once for each phase, instead
> of just once for all phases, and the first step in instantiating a
> module is to phase-shift the module's literal syntax objects as
> necessary.

Right---I should have remembered that from your paper, and I can see
how it handles your example.  I'm not quite ready to bite off on it,
though; multiple instantiations and evaluations of a module body add
a lot of complexity and expense for what is, after all, just a bit of
error checking.

Kent


More information about the R6RS mailing list