Tuple DIP
Paul Backus
snarwin at gmail.com
Sun Jan 3 06:42:49 UTC 2021
On Sunday, 3 January 2021 at 05:44:57 UTC, Timon Gehr wrote:
> On 01.01.21 19:53, Rekel wrote:
>> Slightly unrelated, but wouldn't it be better to change the
>> comma operator to a different symbol entirely?
>
> Ideally we'd just add tuple syntax and then use (..,..,..)[$-1]
> as a replacement for the comma operator.
Since using the value of a comma expression is currently
forbidden, it should be fine to replace comma expressions with
tuple expressions as long as the order of evaluation remains the
same.
More information about the Digitalmars-d
mailing list