Hi,

the correct syntax is

(defmacro aTest
  []
  `(defn ~'aFun [~(with-meta 'b {:tag 'long})]))

; (meta (first (nth (macroexpand-1 '(aTest)) 2))) => {:tag long}

The 'long might also be a `long. I'm not sure about that one.

Kind regards
Meikel

PS: Shameless self-promotion: 
http://kotka.de/blog/2009/12/with-meta_and_the_reader.html

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to