Last active
April 17, 2016 06:10
-
-
Save emanon-was/a8d648019e8f736c026c5ecee972077f 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
| function curry(f) { | |
| if (f.length <= 1) { | |
| return f; | |
| } else { | |
| return function(x) {return curry(f.bind(null,x));}; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment