Created
September 10, 2017 19:07
-
-
Save dustinlacewell-wk/12fb2b82d35d6bafc06e5e3d6c96c405 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 autocurry(value, funcs): | |
for func in funcs: | |
value = func(value) | |
return value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment