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

object.c: use a sized enumerator with #yield_self #1615

Closed
wants to merge 1 commit into from

Conversation

@havenwood
Copy link

havenwood commented May 14, 2017

The #yield_self Enumerator instance always has a #count of 1.
This provides a lazy #size of 1 to match the count instead of nil.

The #yield_self Enumerator instance always has a #count of `1`.
This provides a lazy #size of `1` to match the count instead of `nil`.
@hsbt hsbt closed this in dc6d7cc May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.