Skip to content

Instantly share code, notes, and snippets.

@lucamug
Created January 21, 2021 00:08
Show Gist options
  • Select an option

  • Save lucamug/efe2bbac0cf1ec4b39fbc772d87378c1 to your computer and use it in GitHub Desktop.

Select an option

Save lucamug/efe2bbac0cf1ec4b39fbc772d87378c1 to your computer and use it in GitHub Desktop.
add = a => b => a + b // a => b => a + b
add(1) // b => a + b
add(1)(2) // 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment