[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: module() with _ENV
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 31 Mar 2010 12:57:23 -0300
> I was under the impression that we would still have debug.setfenv and
> debug.getfenv to fill the same purpose? Now I'm hearing that functions
> won't have environments in the language at all?
>From the original proposal:
* http://lua-users.org/lists/lua-l/2010-02/msg00753.html
We also came up with a new concept for environments in Lua 5.2; its
main merit is simplicity. Lua functions do not have environments any
more.
-- Roberto