Created
June 24, 2017 03:27
-
-
Save lubien/daeaaeb456740d037c7ac39ffe03a9d7 to your computer and use it in GitHub Desktop.
Meeting Lambda #12: Curry or Partial? - Sane Binary Functions
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