Skip to content

Instantly share code, notes, and snippets.

@halgari
Last active December 15, 2015 00:19
Show Gist options
  • Select an option

  • Save halgari/5172567 to your computer and use it in GitHub Desktop.

Select an option

Save halgari/5172567 to your computer and use it in GitHub Desktop.
(def adder
(fn [x]
(fn [y]
(+ x y))))
(def add5 (adder 5))
(add5 3)
=> 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment