lua-users home
lua-l archive

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


On Wed, Jun 22, 2016 at 2:39 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> We're not really supposed to use it, we're supposed to
> use table.pack(...) if the actual argument list is array-like.

Ah, but forwarding arguments remains convenient

function boo(...)
  return foo('new',...)
end

Not as cheap as I imagined it to be, but useful and a clean notation.