digitalmars.D.learn - reduce! and ufc
- y (5/5) Jun 02 2015 hi,
- Jonathan M Davis via Digitalmars-d-learn (3/8) Jun 02 2015 Because it predates UFCS.
- y (4/15) Jun 02 2015 for further reference:
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
Jun 02 2015
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 stuffBecause it predates UFCS. - Jonathan M Davis
Jun 02 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:for further reference: https://issues.dlang.org/show_bug.cgi?id=10670 https://github.com/D-Programming-Language/phobos/pull/1955hi, 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 stuffBecause it predates UFCS. - Jonathan M Davis
Jun 02 2015