-
Notifications
You must be signed in to change notification settings - Fork 308
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
Do we need a rfind_map
?
#949
Comments
I think the std lib dismissed the idea, probably not more efficient than the alternative. I don't know where to find the info though. The only thing related I have is #818 (comment) where we had the same thought. Is it really missing though? |
Just struck me as odd, that there is |
I've never sure where to stop for adding the reverse versions of things. Like This started me thinking "well why don't you want to write |
Well, maybe a bit constructed, but |
Yeah, not saying that you'd never want to run them backwards, just that they seems unusual enough to not need a dedicated method on |
While implementing
DoubleEndedIterator
forFilterMapOk
i stumbled over thefind_map
in theIterator
'snext
implementation.The most straight forward way to implement
next_back
would be to just inverse that, butrfind_back
does not exist.Would that be something itertools could need?
The text was updated successfully, but these errors were encountered: