Function Proposal: std.algorithm.iteration : cumulativeSum

e-y-e via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 1 15:09:50 PDT 2016


On Tuesday, 1 November 2016 at 22:06:36 UTC, Ivan Kazmenko wrote:
> 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

damn, that was a typo [cumulativeFold -> cumulativeSum]


More information about the Digitalmars-d mailing list