Created
June 24, 2017 03:20
-
-
Save lubien/d0ecb348d6a8427e9472d837ebb9d28f to your computer and use it in GitHub Desktop.
Meeting Lambda #12: Curry or Partial? - Why Did You Even Curry?
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
const add = x => y => x + y | |
const sub = x => y => x - y | |
console.log('10 + 3 - 4 =', sub( add(10)(3) )(4) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment