lua-users home
lua-l archive

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


On Fri, Jun 24, 2016 at 6:56 PM, Soni L. <fakedme@gmail.com> wrote:
> Second idea: `f(pairs(t),,, 1, 2, 3)`;
>
> - +While not obvious at first, the number of commas after the function call
> indicate how many return values to transpose into arguments.

I tend to have difficulty distinguishing commas from dots, so I read
it as pairs(t)... and thought - that makes sense - it's an explode
operator. Actually counting commas felt less exciting, although it's
logical.