[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] mergelua
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 16 Oct 2011 20:10:54 +0200
On Oct 16, 2011, at 8:05 PM, Matthew Wild wrote:
> ... Error: attempt to call global 'module' (a nil value).
Come on, you know better than that :)
> module() is too magic in my opinion.
Again, we had this discussion over one year ago and I think we agreed to disagree on that one [1].
Creating a closed, self-contained environment is a feature of module. That you dislike its specific implementation (setfenv), is a matter of taste, not functionality.
[1] http://lua-users.org/lists/lua-l/2010-08/msg00314.html