Created
May 17, 2014 02:06
-
-
Save muhuk/08bc80611590f2fe79b1 to your computer and use it in GitHub Desktop.
Is there a better way for creating anonymous constants?
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 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