I'm a little confused by how keyword accesses seem to behave in Clojure when they are evaluated at macro expansion time.
The following works as I expect:
(def m {:a 1})
(:a m)
=> 1
However the same keyword access doesn't seem to work within a macro:
(def m {:a 1})
(defmacro get-a [x] (:a x))
(get-a m)
=> nil
Any idea what is going on here?