-
Notifications
You must be signed in to change notification settings - Fork 23
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
Retain Enumerable ordering #73
Labels
Comments
viralogic
pushed a commit
that referenced
this issue
Jun 30, 2022
viralogic
pushed a commit
that referenced
this issue
Aug 6, 2022
viralogic
pushed a commit
that referenced
this issue
Aug 10, 2022
viralogic
pushed a commit
that referenced
this issue
Aug 10, 2022
viralogic
added a commit
that referenced
this issue
Feb 7, 2023
viralogic
added a commit
that referenced
this issue
Feb 7, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current implementation of the
Enumerable
results in inconsistent results when calling methods such asfirst()
. For example:As you can see, both the calls to
first()
should give 0.This is because of how the
repeatable
iterator is implemented for theEnumerable
does not keep track of the start of the iterator when it is exhausted/used. Thus, subsequent calls of any methods that require iterating over theEnumerable
could start from a non-zero start position and possibly give different results for subsequent calls.The text was updated successfully, but these errors were encountered: