lua-users home
lua-l archive

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


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