Re: newbie to lua :-) a trivial question...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: newbie to lua :-) a trivial question...
- From: steve donovan <steve.j.donovan@...>
- Date: 2010年11月25日 09:38:14 +0200
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.