-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
Make javaslang.collection.Iterator a Traversable #487
Labels
Milestone
Comments
Merged
Add zip*/unzip to Iterator. More methods missing? Look at https://github.com/scala/scala/blob/v2.12.0-M2/src/library/scala/collection/Iterator.scala |
ruslansennov
added a commit
to ruslansennov/vavr
that referenced
this issue
Aug 24, 2015
ruslansennov
added a commit
to ruslansennov/vavr
that referenced
this issue
Aug 25, 2015
ruslansennov
added a commit
to ruslansennov/vavr
that referenced
this issue
Aug 26, 2015
danieldietrich
added a commit
that referenced
this issue
Sep 2, 2015
some TODOs in Iterator fixed #487
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To do this, we (re-)add TraversableOnce. All methods of Traversable are move to TraversableOnce and Traversable extends TraversableOnce.
Then Iterator extends TraversableOnce.
Additionally we add two methods to Traversable
Once:boolean hasDefiniteSize()
//Iterator,Stream, Gen and Arbitraryreturn(s) false, all others return trueboolean isTraversableAgain()
//Iterator returns false,all (others) return trueNote: TraversableOnce has undefined size and is not traversable again by definition.
The text was updated successfully, but these errors were encountered: