Closed dyoder closed 9 years ago
scan is basically reduce except that it returns an iterator that produces incremental results.
scan
reduce
See discussion here: #4.
I'm not sure scan makes sense as the name of this function. Seems more like accumulate would be more appropriate?
accumulate
scan
is basicallyreduce
except that it returns an iterator that produces incremental results.See discussion here: #4.
I'm not sure
scan
makes sense as the name of this function. Seems more likeaccumulate
would be more appropriate?