the README example
jverzani opened this issue · 2 comments
jverzani commented
If I run the README example (v"0.6.2", v"0.1.10"), I get an error:
ERROR: MethodError: Cannot `convert` an object of type Void to an object of type Int64
This is not the case with the slightly different example here: https://benlauwens.github.io/ResumableFunctions.jl/stable/
The issue is the return value of nothing
at the end of the iteration in the README. Is there some mechanism to only iterate over values explicitly yielded? (And not the final value returned by the function.) In my usage, it would simplify some algorithms.
BenLauwens commented
The README
is updated yesterday. Check out branch Python-generators-v0.6
. I will release a new version next week.
jverzani commented
Thanks!
…On Sun, Feb 25, 2018 at 9:14 AM, Ben Lauwens ***@***.***> wrote:
The README is updated yesterday. Check out branch Python-generators-v0.6.
I will release a new version next week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZvTAP26qu1Kd_qO_95XFf1iOGQUxQtks5tYWqogaJpZM4SSSvX>
.