On Mon, 15 Dec 2014 21:32:23 +0000
Meta via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

> On Monday, 15 December 2014 at 18:55:13 UTC, bearophile wrote:
> >> Now this yields tuples:
> >> assert(aa.byPair!Tuple.array == aa.pairs!Tuple);
> >
> > But I'd really like tuples as built-ins for D -.- This is a 
> > work-around that cements the ugly Phobos tuples in the 
> > language... -.-
> >
> > Bye,
> > bearophile
> 
> Kenji has had a pull for full built-in Tuple support sitting in 
> Github for years now 
> (https://github.com/D-Programming-Language/dmd/pull/341). The 
> syntax obviously won't work as it is, but that aside there's very 
> little stopping built-in tuples in D.
> 
> Don't forget, he also made a DIP about it as well: 
> http://forum.dlang.org/thread/mailman.372.1364547485.4724.digitalmar...@puremagic.com

wow, thank you. i missed that PR and i really like it. will try to add
it to my patchset. ;-)

Attachment: signature.asc
Description: PGP signature

Reply via email to