[plt-scheme] Wrapping non-PLT code in modules

From: Francisco Solsona (solsona at acm.org)
Date: Tue Oct 29 10:23:43 EST 2002

"Anton van Straaten" <anton at appsolutions.com> writes:

> 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?

Does something like this do the trick (works for me):

(module bar mzscheme
  (provide (all-defined))
  (load-relative "foo.ss"))

where foo.ss is, of course, your standard scheme code.

HTH,
--Francisco

P.S. And yes: Happy birthday Matthias!



Posted on the users mailing list.