Tuples a first class feature, manu's new unary operator and named arguments
Timon Gehr
timon.gehr at gmx.ch
Sat May 9 16:14:45 UTC 2020
On 09.05.20 17:21, Dejan Lekic wrote:
> On Saturday, 9 May 2020 at 14:28:37 UTC, Timon Gehr wrote:
>> You can easily have function overloading and fully sane tuple
>> semantics at the same time. It is true that in D, some compromises
>> might have to be made in order to preserve backwards compatibility. I
>> think my attempt [1] [2] does that quite well, but maybe there is an
>> even better way.
>
> I wish what you proposed there is already in D... Was there a real DIP
> created out of that?
Unfortunately I got too busy with work and never finished the DIP nor
its implementation. :/ I had originally intended to work on this during
DConf 2018, but Andrei wanted me to work on "__mutable" instead as it
would be more "impactful" work. Of course, he then went on and killed
"__mutable".
More information about the Digitalmars-d
mailing list