-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Cleanup iterators #8430
Cleanup iterators #8430
Conversation
@erickt: needs a rebase already, looks great though |
@thestinger: it's (briefly) mergable again. Can you re-review? |
@erickt: heh, already broken by the last merge |
@thestinger: Wow, that was more briefly mergable than I expected. Shall we try again? |
How did you finagle getting rid of the trailing-underscore methods? Has #3429 been fixed? |
@bstrie: No, it hasn't been fixed. As default methods, they don't encounter the method resolve issue. |
This PR does a bunch of cleaning up of various APIs. The major one is that it merges `Iterator` and `IteratorUtil`, and renames functions like `transform` into `map`. I also merged `DoubleEndedIterator` and `DoubleEndedIteratorUtil`, as well as I renamed various .consume* functions to .move_iter(). This helps to implement part of #7887.
This PR does a bunch of cleaning up of various APIs. The major one is that it merges
Iterator
andIteratorUtil
, and renames functions liketransform
intomap
. I also mergedDoubleEndedIterator
andDoubleEndedIteratorUtil
, as well as I renamed various .consume* functions to .move_iter(). This helps to implement part of #7887.