Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
;; 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