Tuple DIP

Timon Gehr timon.gehr at gmx.ch
Sat Jan 13 14:18:19 UTC 2018


On 13.01.2018 12:43, Jacob Carlborg wrote:
> On 2018-01-12 23:44, Timon Gehr wrote:
>> As promised [1], I have started setting up a DIP to improve tuple 
>> ergonomics in D:
> 
> Perhaps I don't have enough knowledge about the existing different types 
> of tuples but Proposal 1 [1] says:
> 
> "We add the following syntactic sugar to unpack AliasSeq's"
> 
> But the example doesn't contain a single "AliasSeq", only "tuple".
> 
> [1] 
> https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md#proposal-1-unpacking-declarations 
> 
> 

Tuples are structs with alias this to a member AliasSeq, but I can add 
another example that uses the AliasSeq directly.


More information about the Digitalmars-d mailing list