Created
July 8, 2014 20:25
-
-
Save moea/09f5465acec4f3333014 to your computer and use it in GitHub Desktop.
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
(defmacro broken | |
[x] | |
(println (into {} (map (fn [[k v]] [(name k) (mapv str v)]) x)))) | |
(broken x x {:a [a] :b [b]} x) |
edw
commented
Jul 8, 2014
(defmacro less-broken-er?
[& x]
`(into {} (map (fn [[k v]] [(name k) (mapv str v)]) ~x)))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment