reduce! and ufc

y via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 2 04:09:52 PDT 2015


On Tuesday, 2 June 2015 at 10:04:56 UTC, Jonathan M Davis wrote:
> On Tuesday, June 02, 2015 08:57:02 y via Digitalmars-d-learn 
> wrote:
>> hi,
>>
>> is there any reason that the
>> auto reduce(S, R)(S seed, R r) if (isIterable!R);
>> parameters are not the other way around?
>>
>> its kind of not very handy when you do large ufc stuff
>
> Because it predates UFCS.
>
> - Jonathan M Davis

for further reference:
https://issues.dlang.org/show_bug.cgi?id=10670
https://github.com/D-Programming-Language/phobos/pull/1955




More information about the Digitalmars-d-learn mailing list