<div dir="ltr"><div dir="ltr">On Sat, Oct 31, 2020 at 4:30 AM Andrei Alexandrescu via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/27/20 10:34 PM, Manu wrote:<br>
> I mention that it's a postfix unary operator. I think that implies the <br>
> precedence, no?<br>
> All the postfix operators work from the inside outwards. If there's <br>
> precedence levels in there that I didn't notice, then I can amend to <br>
> make it explicit.<br>
<br>
I'd say there's enough subtlety to this to warrant explanation. For <br>
starters, it's not quite an operator because operators yield <br>
expressions, whereas this yields a comma-separated list.</blockquote><div><br></div><div>Just to be clear, is there a difference between a comma-separated list and a tuple?</div><div>If there is a difference, then `...` results in a tuple, and NOT a comma separated list. The result of `...` is a normal tuple, like any other tuple, and it is subject to D's normal expansion rules. This DIP proposes no effect on existing tuple expansion rules, and plugs into them naturally.<br></div><div><br></div></div></div>