2009/10/17 Abdulaziz Ghuloum <[email protected]>: > On Oct 17, 2009, at 3:16 AM, Derick Eddington wrote:
>> psyntax/Chez-style modules are great for controlling scope. I've used >> them a few times when making Ikarus-specific things. A while ago, I >> tried to make a pure R6RS implementation of them and had some success, >> but couldn't figure-out how to completely accomplish some aspect I can't >> remember now. I might try again when I have time, but I think I'm >> remembering I concluded a pure R6RS implementation is not possible. > > It's not possible. :-) You probably can define it in PLT since PLT > exposes pretty much all of its "internal" APIs. For other systems, > you're out of luck. Case in point: http://docs.plt-scheme.org/reference/package.html I am not sure packages and Chez-modules are 100% equivalent, but packages are closer than PLT-modules are. -- Jens Axel Søgaard
