https://issues.dlang.org/show_bug.cgi?id=12655 --- Comment #6 from John Hall <john.michael.hall at gmail.com> --- This can probably be closed now that D 2.072.0 adds cumulativeFold. --