On Fri, Jan 29, 2016 at 07:08:19PM +0000, deadalnix via Digitalmars-d wrote: > On Friday, 29 January 2016 at 12:08:01 UTC, Andrei Alexandrescu wrote: > >As has been discussed before there's been discussion about > >std.algorithm.reduce taking the "wrong" order of arguments (its definition > >predates UFCS). I recall the conclusion was there'd be subtle ambiguities > >if we worked reduce to implement both orders. > > > >So the next best solution is to introduce a new name such as the popular > >"fold", and put them together in the documentation. > > > > > >Thoughts? > > > >Andrei > > Yes, please.
Me Too(tm). T -- 2+2=4. 2*2=4. 2^2=4. Therefore, +, *, and ^ are the same operation.