-
Notifications
You must be signed in to change notification settings - Fork 0
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
Curried versions? #3
Comments
Short closures would be nice here: I have a partial function application function that could work: Not sure how often currying would be needed with |
Hmmm. I guess I was looking for a way to have the nicest possible syntax. |
What about if the default was curried, and there was a mechanism to uncurry? |
Neat little package. After a skim of the examples, I immediately thought that currying would be neat. Like:
BEFORE:
AFTER:
The only problem with this is that it's not possible to encode optional params. Perhaps explicitly have two methods, and take the step first?
Pipe::switch(Gen::rangeWithStep(3)(1))
The text was updated successfully, but these errors were encountered: