lua-users home
lua-l archive

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


On Sat, May 15, 2010 at 10:09 AM, Duncan Cross <duncan.cross@gmail.com> wrote:
> On Sat, May 15, 2010 at 4:16 PM, steve donovan
> <steve.j.donovan@gmail.com> wrote:
>> Yes, it seemed a very interesting idea - no more function
>> environments! Although in .. do remains  as syntactical sugar?  Having
>> to explicitly use a special variable name like _ENV seems less than
>> elegant.
>
> In Roberto's "new proposal for environments" thread [1], he said in ..
> do is "gone". To be honest, I think keeping it on as syntactic sugar
> would be more likely to cause confusion than elegance.
>
> [1] http://lua-users.org/lists/lua-l/2010-02/msg00753.html
>
> -Duncan
>

Ah, really? I actually liked that syntax a lot.

~Jonathan