Iterator combinator methods
dmitry.soshnikov at gmail.com
Fri Dec 9 20:53:43 UTC 2016
There are some good examples with `MapIterator`, and its `filter`, `map`,
`collect` or `collectAs` final methods here (from some old discussion):
I'm pretty sure there should've been other discussions on this, but I'm not
sure about current state.
Just build a working prototype library from those examples as a proof on
concept. Then spec'ing it should be relatively easy after it (assuming a
champion who will be willing to run it through).
On Fri, Dec 9, 2016 at 7:46 AM, Benjamin Gruenbaum <benjamingr at gmail.com>
> I remember a lot of talk about adding `.map/.filter` etc to iterators. The
> benefits of doing this are pretty big and I think fairly well understood
> and several other proposals (like observables and async iterators) would
> benefit from it.
> (I expand on the big advantages this has over Array#map/filter if needed).
> Is anyone currently working on such a proposal? Was it discussed?
> I'd really like to see it move forward.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss