[gambit-list] The module system

Mikael mikael.rcv at gmail.com
Sat Jun 4 16:32:47 EDT 2011


Hi,

Sorry that should be updated in the A t. of S. in G. document:

"X Module System" =>"Black Hole module system"
(use ...) => (import ...)
(module ...) => nothing

Saw you figured it out by yourself though.

Mikael

2011/6/1 Benjohn Barnes <BENJOHN at fysh.org>

> Hi,
>
> I'm reading in "A tour of Scheme in Gambit" about the "X Module System", on
> page 40:
>
>
> http://dynamo.iro.umontreal.ca/~gambit/wiki/images/a/a7/A_Tour_of_Scheme_in_Gambit.pdf
>
> It mentions two forms: "module" and "use", and describes how a module will
> be recompiled if the module source is newer than the binary. This sounds
> great, but in gsi, or when I compile a file with gsc, neither "module" nor
> "use" are available:
>
> > gambit # gsi
> > Gambit v4.6.1
> >
> > > module
> > *** ERROR IN (console)@1.1 -- Unbound variable: module
> > 1> (module a_module)
> > *** ERROR IN (console)@2.2 -- Unbound variable: module
> > 2>
>
> Is this something that has been removed, or do I have to turn it on?
>
> Thank you,
>        Benjohn
>
> --
> benjohn at fysh.org - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile
> +44 (0) 7968 851 636
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110604/7f6ed445/attachment.htm>


More information about the Gambit-list mailing list