Re: Proposal: Trailing comma in function calls
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Proposal: Trailing comma in function calls
- From: Andrew Starks <andrew.starks@...>
- Date: Thu, 5 Jun 2014 05:16:36 -0500
On Thursday, June 5, 2014, Dirk Laurie <
dirk.laurie@gmail.com> wrote:
2014年06月05日 9:50 GMT+02:00 Axel Kittenberger <axkibe@gmail.com>:
> While I'd appreciate something like that can we please keep some focus on
> the original proposal?
I'm happy with the table constructor allowing an extra delimiter precisely
because {a,b,c}, {a,b,c,} and {a,b,c,nil} all do the same thing, and I am
not happy with the original proposal because for f(...), the difference
between f(a,b,c) and f(a,b,c,nil) can be detected by select('#',...).
His suggestion is that the trailing comma does not result in an extra nil.