[Scheme-reports] 6.7.4 load Jonathan Kraut (01 Jun 2011 13:38 UTC)
Re: [Scheme-reports] 6.7.4 load John Cowan (01 Jun 2011 20:21 UTC)
Re: [Scheme-reports] 6.7.4 load Andre van Tonder (02 Jun 2011 05:24 UTC)
Re: [Scheme-reports] 6.7.4 load John Cowan (02 Jun 2011 16:44 UTC)

Re: [Scheme-reports] 6.7.4 load John Cowan 01 Jun 2011 19:40 UTC

Jonathan Kraut scripsit:

> The 'load' procedure doesn't specify what should happen when it is
> called from with a module.

I assume you mean "from within a BEGIN form in a module".  In that case,
it is like any other expression: it is evaluated when the module is
loaded, which can happen at any time and may happen more than once.

> Perhaps the contents should always be evaluated in the
> interaction-environment. Or that could be a default and 'load' could
> take an optional argument that specifies an environment.

Ticket filed for the optional argument defaulting to the interaction
environment.

--
John Cowan          http://www.ccil.org/~cowan         cowan@ccil.org
The native charset of SMS messages supports English, French, mainland
Scandinavian languages, German, Italian, Spanish with no accents, and
GREEK SHOUTING.  Everything else has to be Unicode, which means you get
only 70 16-bit characters in a text instead of 160 7-bit characters.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports