Yes, it's expected, and if you need unqualified names you need to carefully unquote and requote, e.g.
(defmacro def-a-fn [body] `(defn ~'a-fn ;; you can only define unqualified names, I think [] ~@body)) On Wed, Jun 19, 2013 at 3:32 AM, Jim <jimpil1...@gmail.com> wrote: > On 19/06/13 09:46, Phillip Lord wrote: > >> With the ' paul is not namespace qualified, while with the ` paul is. >> >> >> Turns out to be a bit of a pain, actually, although I have worked around >> it. But mostly I am surprised. Is this expected? >> > > Yes, this is very much expected! :) > > How else would you be able to write macros without ` ? > Vars needs to resolve to something eventually... > > Jim > > > -- > -- > 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+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en> > --- You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit https://groups.google.com/d/** > topic/clojure/a4Dp8gdHev8/**unsubscribe<https://groups.google.com/d/topic/clojure/a4Dp8gdHev8/unsubscribe> > . > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscribe@**googlegroups.com<clojure%2bunsubscr...@googlegroups.com> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.