[plt-scheme] How to use SLIB with mzc?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 30 23:04:12 EST 2004

At Fri, 26 Mar 2004 13:06:54 -0800, taltman at lbl.gov wrote:
> (module hello-world
>         mzscheme
>         
>   (require (lib "load.ss" "slibinit"))
>   (slib:require 'subarray)
>   (display "Hello world!")
>   (newline) )
> 
> Where '(slib:require subarray) is what I can grok as the way to not
> have the mzscheme module system get confused between the two different
> "require"s. 
> 
> Needless to say, this does not work. How does one do it, then?

Unfortunately, SLIB's `require' is unrelated to MzScheme's `require',
so it won't import into a `module'.

I don't have a good answer for this one, except to wrap the relevant
SLIB library into a `module' (which may not be practical).

Matthew



Posted on the users mailing list.