Function Proposal: std.algorithm.iteration : cumulativeSum

Ivan Kazmenko via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 1 15:06:36 PDT 2016


On Tuesday, 1 November 2016 at 21:52:40 UTC, e-y-e wrote:
> I'd like to propose the function cumulativeFold as a new 
> addition to std.algorithm.iteration. I have already opened a 
> pull request [1] for this addition so the full implementation 
> is available there. The function signatures are:

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



More information about the Digitalmars-d mailing list