Re:Why I Prefer Functional Programming
by saagarjha on Friday September 20, 2019 @02:45AM
(#21023834)
C++ even calls it std::accumulate. (There’s a std::reduce in C++17, but it’s just std::accumulate with the restriction that the operation is commutative.)
[ Parent
| on HN ]
There are no comments on this comment yet.