[Issue 12655] foldRange

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 3 02:03:45 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12655

--- Comment #1 from bearophile_hugs at eml.cc ---
Optionally the a+b could be the default operation, like in C++:

[10, 20, 30, 40].foldRange(0)
==>
[0, 10, 30, 60, 100]

--


More information about the Digitalmars-d-bugs mailing list