Skip to content

Instantly share code, notes, and snippets.

@lubien
Created June 24, 2017 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lubien/daeaaeb456740d037c7ac39ffe03a9d7 to your computer and use it in GitHub Desktop.
Save lubien/daeaaeb456740d037c7ac39ffe03a9d7 to your computer and use it in GitHub Desktop.
Meeting Lambda #12: Curry or Partial? - Sane Binary Functions
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