Skip to content

Instantly share code, notes, and snippets.

@eneroth
Created November 2, 2014 16:01
Show Gist options
  • Save eneroth/a45c1b8ac24f1af17365 to your computer and use it in GitHub Desktop.
Save eneroth/a45c1b8ac24f1af17365 to your computer and use it in GitHub Desktop.
(defn add [a b]
(+ a b))
(let [add-1 (partial add 1)]
(println (add-1 6))
(println (add-1 12)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment