>
> Another option would be to throw. Then the caller can tell that they did
> something that was not expected by the inner iterator.
>
> I like that solution!
>

I do as well.  What exactly is thrown - the input to the generator's throw
method?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to