Skip to content

Instantly share code, notes, and snippets.

@muhuk
Created May 17, 2014 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muhuk/08bc80611590f2fe79b1 to your computer and use it in GitHub Desktop.
Save muhuk/08bc80611590f2fe79b1 to your computer and use it in GitHub Desktop.
Is there a better way for creating anonymous constants?
(def my-fn (let [a (idempotent-fn x)
b (idempotent-fn y)]
(fn [i] (some-ops i a b))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment