lua-users home
lua-l archive

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


> Say myfunc() returns 3 values. Should they get truncated to 1 value by
> the lambda? Parentheses around a function call will ordinarily
> truncate it to one value - but that is confusingly at-odds with having
> optional parentheses around lambda return values.
>
> Simplicity is not so easily achieved :)

Ouch, you're right there, on both statements.