Should we deprecate comma?

bearophile bearophileHUGS at lycos.com
Mon Mar 24 12:17:35 PDT 2014


deadalnix:

>> tuple(1,2)    two-element tuple
>> tuple(1)      one-element tuple
>> (1)           simple expression
>> tuple()       empty tuple
>>
>> Oh, wait...
>>
>
> Yes, that.

99% of the problem is not in the syntax to build tuples. What's 
desired are mostly syntaxes to do the opposite, pulling tuples 
apart in a handy way.

Bye,
berarophile


More information about the Digitalmars-d mailing list