Re: a new proposal for environments
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: a new proposal for environments
- From: Miles Bader <miles@...>
- Date: 2010年2月25日 20:08:22 +0900
Drake Wilson <drake@begriffli.ch> writes:
> This is a huge simplification: it means that the special "environment"
> goes away entirely, and its properties are folded into the general
> idea of locals (things defined here) and upvalues (things from above).
>
> I approve heartily.
Yeah, I agree; somehow the _ENV proposal feels more "Lua-y".
As long as there's some way to control the initial value of _ENV when
loading ("loadin" or whatever), it sounds quite workable to me.
-Miles
--
Insurrection, n. An unsuccessful revolution.