3 ms·
Yes. Playing around with Metalua[1]'s anonymous functions[2] which allow you to shorten function(arg1, arg2, argn) return some_expr end to the much more co
by bayareaguy 17y ago
Yes. Playing around with Metalua[1]'s anonymous functions[2] which allow you to shorten
function(arg1, arg2, argn) return some_expr end
to the much more concise
|arg1,arg2,argn| some_exp
makes me wish they were part of core Lua.
1- http://lua-users.org/wiki/MetaLua http://lua-users.org/wiki/MetaLua
2- http://metalua.luaforge.net/manual003.html#toc3 http://metalua.luaforge.net/manual003.html#toc3