pandastrike / panda-river

Reactive programming in a functional style in JavaScript.
MIT License
1 stars 2 forks source link

Add scan filter #7

Closed dyoder closed 9 years ago

dyoder commented 9 years ago

scan is basically reduce 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 like accumulate would be more appropriate?