Created
March 10, 2020 15:20
-
-
Save nojhan/a5cb7e26174e8013682d52a895e44854 to your computer and use it in GitHub Desktop.
Wrapping call as the basis for function composition
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
def make(func, **kwargs): | |
def f(arg): | |
return func(arg,**kwargs) | |
return f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment