Function Proposal: std.algorithm.iteration : cumulativeSum
jmh530 via Digitalmars-d
digitalmars-d at puremagic.com
Tue Nov 1 17:41:38 PDT 2016
On Tuesday, 1 November 2016 at 22:06:36 UTC, Ivan Kazmenko wrote:
>
> DMD 2.072 just got cumulativeFold:
>
> https://dlang.org/changelog/2.072.0.html#std-algorithm-iteration-cumulativeFold
>
> https://dlang.org/phobos/std_algorithm_iteration.html#cumulativeFold
I was happy to see that.
I'm surprised there wasn't more angst about the name.
cumulativeSum should be cumsum, which implies that cumulativeFold
should be cumfold, IMO.
More information about the Digitalmars-d
mailing list