-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Questions
- Should Enumerable#piecewise return an Enumerator if no block is given, a la
#select, etc.? - Should Enumerator#piecewise return a lazy enumerator if
selfis already lazy (eliminating the need for Enumerator::Lazy#piecewise)? - Should
#piecewisebe broken into two separate methods, a la#with_indexand#each_with_index? - Should Enumerable#piecewise pass its args to
#eachor Enumerator#piecewise?
TODO
- Add more/better examples
- Test argument passing to Enumerable#each and Enumerator(::Lazy)#new
Metadata
Metadata
Assignees
Labels
No labels