This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 212: Let LOAD take an optional environment argument

2012-10-05 12:44:04
WG1 - Core
cowan
major
cowan
fixed
source
closed
2011-06-02 03:20:36
defect

Change load to take a second argument which is the environment to load into. The default is (interaction-environment).

See also #161.

On reflection, the interaction-environment is the only standard environment that is mutable, so there's no need to add this argument to the standard, simply to specify that load mutates the interaction environment. Schemes with first-class environments can add the second argument as an extension, but we need not say so.

resolution
statusnewdecided

WG1 accepted this proposal.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed