Re: No trace of cumulativeFold except in the source.

2016-10-27 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, October 23, 2016 19:20:43 e-y-e via Digitalmars-d-learn wrote: > On this topic, do you think a 'cumulativeSum' specialisation > based on the 'sum' specialisation be welcome in phobos? Here's a > quick prototype, obviously not library standard but the basic > logic is there: >

Re: No trace of cumulativeFold except in the source.

2016-10-23 Thread e-y-e via Digitalmars-d-learn
On Sunday, 23 October 2016 at 10:19:07 UTC, Jonathan M Davis wrote: On Sunday, October 23, 2016 10:10:40 e-y-e via Digitalmars-d-learn wrote: ... Per http://dlang.org/changelog/2.071.0.html 2.071.0 came out at the beginning of April, and 2.072 has been slow in coming, so we've only had

Re: No trace of cumulativeFold except in the source.

2016-10-23 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, October 23, 2016 10:10:40 e-y-e via Digitalmars-d-learn wrote: > On Sunday, 23 October 2016 at 09:11:08 UTC, Jonathan M Davis > > wrote: > > On Sunday, October 23, 2016 07:46:19 e-y-e via > > > > Digitalmars-d-learn wrote: > >> ... > > > > It's not a bug. It's just too new. You looked

Re: No trace of cumulativeFold except in the source.

2016-10-23 Thread e-y-e via Digitalmars-d-learn
On Sunday, 23 October 2016 at 09:11:08 UTC, Jonathan M Davis wrote: On Sunday, October 23, 2016 07:46:19 e-y-e via Digitalmars-d-learn wrote: ... It's not a bug. It's just too new. You looked at the master branch on github, whereas what you're probably using on your computer is 2.071.2,

Re: No trace of cumulativeFold except in the source.

2016-10-23 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, October 23, 2016 07:46:19 e-y-e via Digitalmars-d-learn wrote: > Recently I needed to use a cumulative sum function, so I looked > in phobos' documentation for 'cumulative' but found nothing > useful. Then I looked in the forums for it and found nothing > useful. But when I searched

No trace of cumulativeFold except in the source.

2016-10-23 Thread e-y-e via Digitalmars-d-learn
Recently I needed to use a cumulative sum function, so I looked in phobos' documentation for 'cumulative' but found nothing useful. Then I looked in the forums for it and found nothing useful. But when I searched phobos for it I found cumulativeFold in std.algorithm.iteration: