[plt-scheme] language levels in PLT

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Mar 18 18:54:52 EDT 2007

On Mar 18, Yin-So Chen wrote:
> Thanks Jens and Eli, So it appears I need at least pretty-big-text (but not
> pretty-big).
> 
> Regarding Swindle - what is the difference between Swindle and the
> class.ssincluded in Pretty-Big?
> 
> Also - can I include more than one language pack like below?  Would
> there be conflics?
> 
> (module a-module-name (lib "plt-pretty-big-text.ss) (lib "swindle.ss")
>   <your code here>)

No, there's a single module at the `language position'.  You can then
require more modules in with `require':

  (module a-module-name (lib "plt-pretty-big-text.ss)
    (require (lib <whatever>))
    <your code here>)

The library that you require should not conflict with existing
bindings that you get from the language module.  The Swindle
documentation that describe each module say whether it's a language
module or not.  The non-language modules allow you to require selected
pieces from Swindle.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.