On 2/3/23 08:01, Richard (Rikki) Andrew Cattermole wrote:
All good, I'm glad it'll work for you :)I used the word difference to search the phobos docs with.
'fold' is doing much better in that department because it mentions other names: "Implements the homonym function (also known as accumulate, compress, inject, or foldl) present in various programming languages of functional flavor."
https://dlang.org/library/std/algorithm/iteration/reduce.html Ali