[plt-scheme] Modules and PLAI

From: Zhu Chongkai (mathematica at citiz.net)
Date: Tue Mar 29 19:41:56 EST 2005

  
======= At 2005-03-30, 04:28:47 Arjun Guha wrote: =======
>
>Hello,
>
>I want `PLAI - Pretty Big' to be the language of a module.  How do I do 
>so?
>
>-Arjun
>
= = = = = = = = = = = = = = = = = = = =

Assuming you are using DrScheme v20x and install PLAI in the "plai" 
directory (if you don't know where it is, use

(current-library-collection-paths)

to find it. )

Open the "plai/plai-pretty-big.ss" file and just change the line 

  (provide (all-from-except mzscheme #%module-begin)

into 

  (provide (all-from mzscheme)

then save the file as "plai/plai-pretty-big-module.ss". 


Now you can define the module as

(module a (lib "plai-pretty-big-module.ss" "plai")
   ...)


Cheers,
Zhu Chongkai
http://www.neilvandyke.org/mrmathematica/




Posted on the users mailing list.