Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Reverse iterator #4590

Closed
JeffBezanson opened this issue Oct 20, 2013 · 2 comments
Closed

remove Reverse iterator #4590

JeffBezanson opened this issue Oct 20, 2013 · 2 comments
Milestone

Comments

@JeffBezanson
Copy link
Member

I am highly in favor of deleting this since it simply does not work. Unlike everything else in iterator.jl it depends on indexing, not iteration, and doesn't even work on everything that's indexable (for example UTF8String). I hate having landmines like this in Base.

@StefanKarpinski
Copy link
Member

I support that.

@StefanKarpinski
Copy link
Member

What's really needed is a reverse iteration protocol rstart, prev and rdone or something like that. The names are terrible, but it needs to be dual of the forward iteration protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants