On Wednesday, 2 November 2016 at 00:41:38 UTC, jmh530 wrote:
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.

I think there's an obvious reason as to why they're not called that.

Reply via email to