Multiple Tuple IFTI Syntactic Sugar

Bill Baxter wbaxter at gmail.com
Tue Feb 3 07:33:24 PST 2009


On Wed, Feb 4, 2009 at 12:24 AM, bearophile <bearophileHUGS at lycos.com> wrote:
> dsimcha:
>> I guess the bottom line is that, yes, this is too much of a niche feature.
>
> Yes, but I think in D tuples have to nest. Their auto-flattening is a design mistake to be fixed, IMHO (even Perl6 fixes this).

Wouldn't it be lovely if we could just use parentheses for that and he
could call the function like:
     Something!((t1,t2,t3),(s1,s2,s3))


--bb



More information about the Digitalmars-d mailing list