Consistency

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 15 10:37:22 PST 2015


John Colvin:

> tup1.expand.only.countUntil(2).writeln;
>
> Admittedly, it's a little longer than expected :)

A little shorter:

tup1[].only.countUntil(2).writeln;

Bye,
bearophile


More information about the Digitalmars-d mailing list