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

Cleanup iterators #8430

Closed
wants to merge 14 commits into from
Closed

Cleanup iterators #8430

wants to merge 14 commits into from

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Aug 10, 2013

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.

@thestinger
Copy link
Contributor

@erickt: needs a rebase already, looks great though

@erickt
Copy link
Contributor Author

erickt commented Aug 10, 2013

@thestinger: it's (briefly) mergable again. Can you re-review?

@thestinger
Copy link
Contributor

@erickt: heh, already broken by the last merge

@erickt
Copy link
Contributor Author

erickt commented Aug 10, 2013

@thestinger: Wow, that was more briefly mergable than I expected. Shall we try again?

@bstrie
Copy link
Contributor

bstrie commented Aug 10, 2013

How did you finagle getting rid of the trailing-underscore methods? Has #3429 been fixed?

@thestinger
Copy link
Contributor

@bstrie: No, it hasn't been fixed. As default methods, they don't encounter the method resolve issue.

bors added a commit that referenced this pull request Aug 10, 2013
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.
@bors bors closed this Aug 10, 2013
bors added a commit that referenced this pull request Aug 10, 2013
This merges these PR together:

#8430: r=thestinger 
#8370: r=thestinger
#8386: r=bstrie
#8388: r=thestinger
#8390: r=graydon
#8394: r=graydon
#8402: r=thestinger
#8403: r=catamorphism
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

Successfully merging this pull request may close these issues.

4 participants