[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Issues with the current varargs implementation (Was: Re: inadequate documentation for select and table.unpack)
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 22 Jun 2016 14:59:57 +0200
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.