[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Immutable environments?



On Mon, Jan 28, 2013 at 10:07 AM, Vincent Manis <vmanis@x> wrote:
I should read mail before I send it. My point was not that environment
should create mutable environments, but rather that there appears to be
no way of creating a mutable environment for load, other than possibly
interaction-environment (whose mutability isn't defined).

`interaction-environment' is mutable.  I think this is clear
from the fact that immutable environments are explicitly
described as such, but we could emphasize it in the text.

Consequently, the result of using `load' and `eval' on code
with top-level definitions in anything but `interaction-environment'
is unspecified.

This has come up before.  There are use cases for both
mutable and immutable environments, but we've only provided
one mutable env in the small language.  WG2 will provide
a library for more configurable mutable envs.

-- 
Alex

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