I believe duplicating the `Array.prototype` built-ins as generator versions, in user-code, is the expected path forward. Perhaps an "itertools"-like module will be standardized and added in ES7, after that cowpath has been paved.
This pain is somewhat alleviated by generator expressions (which cover filter and map) and `for`-`of` (which covers the rest, more manually). _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

