a weird yield* edge case
Kevin Smith
zenparsing at gmail.com
Sat Jan 31 09:50:31 PST 2015
>
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150131/4b4f44f5/attachment.html>
More information about the es-discuss
mailing list