My code was written with Base.next and now it is not working with 1.0
Where can I learn the latest iterator interface and what I need to change.
Thanks
My code was written with Base.next and now it is not working with 1.0
Where can I learn the latest iterator interface and what I need to change.
Thanks
Docs can be found here.
You’ll want to use iterate
instead.
Also,
see also: Writing Iterators in Julia 0.7
Usually you don’t want to explicitly call the next or iterate functions. Just use a for loop instead.
Ah, unless you’re defining an iterable type of course, sorry.