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

More Safer Enumerable Methods Please #8

Open
markjlorenz opened this issue May 9, 2014 · 0 comments
Open

More Safer Enumerable Methods Please #8

markjlorenz opened this issue May 9, 2014 · 0 comments

Comments

@markjlorenz
Copy link
Contributor

Things that give back an enumerator need to enumerate over a FetchingSomething
Things that give back a hash or array need give back a FetchingSomething
Things that give back sub-slices (e.g. #last) need to do bounds checking
Remove any Enumerable method that can't reasonably be made to fit these requirements.

For example, #drop should return a fetch'ified array.

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

No branches or pull requests

1 participant