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

Implement compose() lazily #651

Open
lionel- opened this issue Feb 27, 2019 · 1 comment
Open

Implement compose() lazily #651

lionel- opened this issue Feb 27, 2019 · 1 comment
Labels
adverb 📚 feature a feature request or enhancement

Comments

@lionel-
Copy link
Member

lionel- commented Feb 27, 2019

So we could use compose() to create function operators like possibly(), safely(), etc. It would generate this call:

`_fn3`(`_fn2`(`_fn1`(...)))

Also allow custom names (automatically prefixed with _) in composed functions.

@lionel- lionel- added the feature a feature request or enhancement label Feb 27, 2019
@hadley
Copy link
Member

hadley commented Aug 24, 2022

Connected to #828 — should compose() evaluate lazily?

@hadley hadley changed the title Explore non iterative function composition Implement compose() lazily Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adverb 📚 feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants