lua-users home
lua-l archive

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


On Thu, Nov 25, 2010 at 9:20 AM, Miles Bader <miles@gnu.org> wrote:
> That wouldn't be necessary, the new syntax wouldn't break old code.

Yes, one could say {f()...} if you wanted to be explicit, but {f()}
would still behave the same way.

There is the possibility of confusion where ... is used in two very
different ways:

function varargs(f,...)
    return {f(...)...,...}
end

steve d.