From: Brendan Eich [mailto:[email protected]]
> For iteration, sure. For map or other functional (pure?!) APIs? Yikes. > > If in ES7 we build up the duality between iterables and observables, add > for-on, pave the way toward FRP, then `map` as a protocol (part) should be > pure with respect to its receiver, ISTM. This is iterables vs. iterators IMO. Iterators are inherently stateful and I'd expect anything that uses them to consume them, even something named "map". Iterables of course would not be. _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

