Last active
April 30, 2017 11:27
-
-
Save deque-blog/5a7e3f918493ab7001212e806f3d7775 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
;; Lambda function with: | |
;; - 2 arguments x and y | |
;; - capture of value z | |
(fn [x y] (+ x y z)) | |
;; Short notation for the same function | |
#(+ %1 %2 z) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment