On Mon, Mar 11, 2013 at 2:48 PM, Kevin Gadd <[email protected]> wrote:
> Another option for scenarios like open() where it is not cheap to > create multiple distinct iterators (each starting from the beginning), > or for scenarios where it's impossible (like a network stream) would > be to only expose an iterator in those instances, not an iterable. > But then how would you use it? If you could not use a for-of loop on it, or pass it to functions like zip(), that is throwing the baby out with the bathwater. -j
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

