[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Basic question about modules
- From: Petite Abeille <petite_abeille@...>
- Date: Tue, 05 Oct 2010 23:19:10 +0200
On Oct 5, 2010, at 11:06 PM, Joe Andresen wrote:
> So basically what everyone is saying is that there is no standard for
> writing modules in Lua 5.2 or 5.1 for that matter?
module() is the standard in 5.1, as define by "what built-in Lua". Lua doesn't provide many functions, but it does provide module(). 5.2 is a work of, hmmm, fiction at the moment.
There are also rumors of discounted in part of Elbonia, related to some vague notions of "purity" or something or other. Go figure.
http://lua-users.org/wiki/LuaModuleFunctionCritiqued