{"action":"created","issue":{"url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/20","repository_url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl","labels_url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/20/comments","events_url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/20/events","html_url":"https://github.com/BenLauwens/ResumableFunctions.jl/issues/20","id":300025676,"number":20,"title":"the README example","user":{"login":"jverzani","id":421708,"avatar_url":"https://avatars2.githubusercontent.com/u/421708?v=4","gravatar_id":"","url":"https://api.github.com/users/jverzani","html_url":"https://github.com/jverzani","followers_url":"https://api.github.com/users/jverzani/followers","following_url":"https://api.github.com/users/jverzani/following{/other_user}","gists_url":"https://api.github.com/users/jverzani/gists{/gist_id}","starred_url":"https://api.github.com/users/jverzani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jverzani/subscriptions","organizations_url":"https://api.github.com/users/jverzani/orgs","repos_url":"https://api.github.com/users/jverzani/repos","events_url":"https://api.github.com/users/jverzani/events{/privacy}","received_events_url":"https://api.github.com/users/jverzani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-25T13:21:11Z","updated_at":"2018-02-25T14:35:33Z","closed_at":null,"author_association":"NONE","body":"If I run the README example (v\"0.6.2\", v\"0.1.10\"), I get an error:\r\n\r\n```\r\nERROR: MethodError: Cannot `convert` an object of type Void to an object of type Int64\r\n```\r\n\r\nThis is not the case with the slightly different example here: https://benlauwens.github.io/ResumableFunctions.jl/stable/\r\n\r\n\r\nThe 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."},"comment":{"url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/comments/368314256","html_url":"https://github.com/BenLauwens/ResumableFunctions.jl/issues/20#issuecomment-368314256","issue_url":"https://api.github.com/repos/BenLauwens/ResumableFunctions.jl/issues/20","id":368314256,"user":{"login":"jverzani","id":421708,"avatar_url":"https://avatars2.githubusercontent.com/u/421708?v=4","gravatar_id":"","url":"https://api.github.com/users/jverzani","html_url":"https://github.com/jverzani","followers_url":"https://api.github.com/users/jverzani/followers","following_url":"https://api.github.com/users/jverzani/following{/other_user}","gists_url":"https://api.github.com/users/jverzani/gists{/gist_id}","starred_url":"https://api.github.com/users/jverzani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jverzani/subscriptions","organizations_url":"https://api.github.com/users/jverzani/orgs","repos_url":"https://api.github.com/users/jverzani/repos","events_url":"https://api.github.com/users/jverzani/events{/privacy}","received_events_url":"https://api.github.com/users/jverzani/received_events","type":"User","site_admin":false},"created_at":"2018-02-25T14:35:33Z","updated_at":"2018-02-25T14:35:33Z","author_association":"NONE","body":"Thanks!\n\nOn Sun, Feb 25, 2018 at 9:14 AM, Ben Lauwens <notifications@github.com>\nwrote:\n\n> The README is updated yesterday. Check out branch Python-generators-v0.6.\n> I will release a new version next week.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/BenLauwens/ResumableFunctions.jl/issues/20#issuecomment-368312484>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAZvTAP26qu1Kd_qO_95XFf1iOGQUxQtks5tYWqogaJpZM4SSSvX>\n> .\n>\n"}}
{"actor":{"display_login":"jverzani"}}