In-place scan

I added a method for scan, which performs reduce but as a sequence that vends all the intermediate steps, as in-line to a MutableCollection. There's also a counter-operation.

It's #48.

It's not clear to me that these should take throwing closures. I'm not sure there's much you can do with the partially processed collection if they do throw.

1 Like
Terms of Service

Privacy Policy

Cookie Policy