[plt-scheme] Mred.ss in a module

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon May 12 14:27:34 EDT 2003

At Mon, 12 May 2003 20:07:07 +0200, "Wouter Van den Broeck" wrote:
> How can one use mred.ss functionality inside a module?
> 
> (module x mzscheme
>   (require (lib "mred.ss"))
>   ...
> )
> 
> Does not seem to do the trick.

  
 (require (lib "mred.ss" "mred"))
                        ^^^^^^^

i.e., you have to name the "mred" collection explicitly, in addition to
the "mred.ss" module file.

Matthew



Posted on the users mailing list.