A running reduce?

I’m not entirely sure where the term comes from but I’ve heard of scan being used to refer to this method.

This was brought up in a thread a while back and I’ll just post a link to the last reply from there:

Since it was already pitched and rejected, you’d need to provide more of an explanation for why you think this should be in the standard library.

2 Likes