You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that 0.7 has reverse iteration (JuliaLang/julia#24187), it would be nice to support that in the IterTools iterators where it makes sense:
define Iterators.reverse(itr::SomeIterType) in cases where the reverse iterator is easily written in terms of some other iterator type. (e.g. if itr "wraps" around another iterator, just call Iterators.reverse on the "inner" iterator).
define start/next/done methods for Iterators.Reverse{SomeIterType} in cases where you need a specialized iteration protocol.
Now that 0.7 has reverse iteration (JuliaLang/julia#24187), it would be nice to support that in the IterTools iterators where it makes sense:
define
Iterators.reverse(itr::SomeIterType)
in cases where the reverse iterator is easily written in terms of some other iterator type. (e.g. ifitr
"wraps" around another iterator, just callIterators.reverse
on the "inner" iterator).define
start
/next
/done
methods forIterators.Reverse{SomeIterType}
in cases where you need a specialized iteration protocol.For examples, see https://github.com/JuliaLang/julia/blob/master/base/iterators.jl
The text was updated successfully, but these errors were encountered: