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_...
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
Afficher les réponses par date
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@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_...
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@fysh.org - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
On 4 Jun 2011, at 22:32, Mikael wrote:
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
Hi Mikael,
Is it possible for me to fix this up?
Thanks, Benjohn
Yes go into the ODF variant of the doc in OpenOffice, update exactly this, save, save in word format also and a pdf version, and upload the new ver of all the three files. Brgds
2011/6/7 Benjohn Barnes BENJOHN@fysh.org
On 4 Jun 2011, at 22:32, Mikael wrote:
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
Hi Mikael,
Is it possible for me to fix this up?
Thanks, Benjohn
-- benjohn@fysh.org - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list