[plt-scheme] Wrapping non-PLT code in modules
Use include instead of load (RTFM) -- but this only includes
textually.
Zbyszek Jurkiewicz
On Tue, 29 Oct 2002, Anton van Straaten wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> I have some code written for R5RS that I'd like to be able to wrap in a PLT
> module, without modifying the original source. Is that possible, and if so,
> how do I do it?
>
> I tried a few things (in v202) such as the following:
>
> (module wrap-standard-code mzscheme
> (load "some-standard-scheme.scm") ; can't use require, not loading a
> module
> (provide oogle boogle bargle))
>
> ...but all my attempts are met by the baleful glare of a person whose
> appearance seems timed specifically to prevent me from doing what I want to
> do! (Happy Birthday, Matthias!)
>
> Any suggestions?
>
> Anton
>
>