lua-users home
lua-l archive

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


2011/10/16 Petite Abeille <petite.abeille@gmail.com>:

> To add insult to injury, 5.2 introduces such frivolous function as table.pack -

Frivolous?

Now:

    local pack = table.unpack

Before:

    local function pack(...) local a = {...}; a.n=#a; return a end

OK. Frivolous.

Dirk