Last active
December 15, 2015 00:19
-
-
Save halgari/5172567 to your computer and use it in GitHub Desktop.
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
(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