lua-users home
lua-l archive

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


On Mon, Aug 16, 2010 at 2:55 PM, Jerome Vuarand
<jerome.vuarand@gmail.com> wrote:
> 2010/8/16 steve donovan <steve.j.donovan@gmail.com>:
>> On Mon, Aug 16, 2010 at 3:24 PM, Jerome Vuarand
>> <jerome.vuarand@gmail.com> wrote:
>>> This is no longer sugar, the environment replacement feature of module
>>> relies on a core feature that is considered deprecated in 5.2
>>> (changing the caller environment).
>>
>> I suppose this should now be considered a fait accompli.
>
> I don't think so. Unless I missed something, the current 5.2 is still
> in the same stage as the work1 version, with its "in env do" paradigm.
> Everything could change again.

I believe that paradigm has been considered removed when _ENV was introduced:

http://lua-users.org/lists/lua-l/2010-02/msg00753.html

'The construction "in env do ... end" is gone too...'

-Duncan