[plt-scheme] . nitpick .

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Wed Jun 13 03:06:27 EDT 2007

Grant Rettke skrev:
> Where is the documentation for that #% form?
> I remember that appearing in the group as a way to set the environment
> for the module was it? But in the documentation I don't recall if it
> was so clearly stated.

It is the standard require with a new name. It is available in
R5RS under the name #%require. If you need say srfi 1 in the
R5RS language, use:

     (#%require (lib "list.ss" "srfi" "1")) .

If you need to use modules, import them:

     (#%require (only mzscheme module)) .

If you like to write require instead of #%require, then
import it under its standard name:

     (require (only mzscheme requrie)) .

Jens Axel Søgaard

Posted on the users mailing list.