Created
January 12, 2015 16:46
-
-
Save Deraen/dfd4b85de4cc14ebc93e to your computer and use it in GitHub Desktop.
Random Clj notes
This file contains hidden or 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
| ; Quoting symbols in collection before passing them to eval so that they are quoted when evaluated | |
| (let [test #{'a 'b 'c}] `(println ~@(map #(eval `''~%) test))) | |
| ; => (clojure.core/println (quote a) (quote c) (quote b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment