-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More curry changes, including sometimes returning
functools.partial
:
1. Once again, `Curry` is a class and `curry` is a function. 2. `Curry`and `curry` may return a partial instance if there is a single argument remaining and no keywords. 3. `curried_object.call` was changed to `curried_object._call`. As per usual convention, `_call` is an implementation detail that may occasionally be useful (as it is explicit and faster), but there are no guarantees that it will remain in future releases of `toolz`.
- Loading branch information
Showing
2 changed files
with
81 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters