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.

Reply via email to