lua-users home
lua-l archive

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


On Thu, Jun 23, 2016 at 5:16 PM, Philipp Janda <siffiejoe@gmx.net> wrote:
> As long as Lua 5.1 (via LuaJIT) is still relevant, `table.pack` isn't really
> that useful since you need `{n=select('#',...),...}` anyway ...

It's trivial to define table.pack when you use that pattern, although
it's going to be a little slower.  Making applications
version-tolerant is not a big deal.