[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: require, module, globals and "magic"
- From: Duncan Cross <duncan.cross@...>
- Date: Mon, 16 Aug 2010 15:41:32 +0100
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
- References:
- require, module, globals and "magic", Nevin Flanagan
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", Lorenzo Donati
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", Luiz Henrique de Figueiredo
- Re: require, module, globals and "magic", Petite Abeille
- Re: require, module, globals and "magic", Jerome Vuarand
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", Jerome Vuarand
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", Jerome Vuarand