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

Add map, reduce, and select. Consider what to do with different arities. Consider transducers. Lazy were possible. #2

Open
delonnewman opened this issue Aug 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@delonnewman
Copy link
Owner

delonnewman commented Aug 15, 2020

invokable.map # => #<Transducer ...>
invokable.map(enumerable) # => #<Enumerator::Lazy ...>

invokable.select # => #<Transducer ...>
invokable.select(enumerable) # => #<Enumerator::Lazy ...>

invokable.reduce # => #<Transducer ...>
invokable.reduce(init, enumerable) ?
invokable.reduce(enumerable) ?

https://clojure.org/reference/transducers
https://www.rubydoc.info/gems/transducers/0.4.94

@delonnewman delonnewman self-assigned this Aug 15, 2020
@delonnewman delonnewman added the enhancement New feature or request label Aug 15, 2020
@delonnewman delonnewman changed the title Add map, reduce, and select. Consider what to do with difference arities. Consider transducers. Lazy were possible. Add map, reduce, and select. Consider what to do with different arities. Consider transducers. Lazy were possible. Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant