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 support for transducers #152

Open
myhau opened this issue May 13, 2015 · 3 comments
Open

Add support for transducers #152

myhau opened this issue May 13, 2015 · 3 comments

Comments

@myhau
Copy link

myhau commented May 13, 2015

Could you add support for transducers ?

@olsonpm
Copy link
Contributor

olsonpm commented May 30, 2015

I've looked at the code-base, and I've had the same thought myself in terms of how nice it would be to have chained sequence transformations separate from the sequence itself. Based on the implementation however (and I could be wrong) - creating that separation would be a huge and unlikely undertaking.

@dtao
Copy link
Owner

dtao commented Feb 7, 2018

If I understand correctly, this sounds like pretty much the same request as #215.

@olsonpm
Copy link
Contributor

olsonpm commented Feb 7, 2018

My understanding of OP's request at the time was exactly what you addressed here. Since then I've learned about functional programming however and think a better explanation of transducers can be found here. It's way different from what I initially understood them to mean, and is pretty much how you have designed Lazy.js from the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants