Tuples a first class feature, manu's new unary operator and named arguments

Panke tobias at pankrath.net
Sun May 10 07:00:16 UTC 2020


On Sunday, 10 May 2020 at 03:14:08 UTC, Timon Gehr wrote:
> I don't see any reason why the concept "multiple function 
> arguments" should be separate from the concept "multiple tuple 
> elements". It's a distinction without a difference and I think 
> it is a design mistake.

But that would mean we need a way to prevent a tuple from 
unpacking automatically, wouldn't it?

Or do we only allow exactly one or no tuple in an argument list?




More information about the Digitalmars-d mailing list