Thank you everyone for explanations. I think now I understand macros and how to use macro let better.
Milinda On Thursday, March 6, 2014 1:51:59 PM UTC-5, Konrad Hinsen wrote: > > --On 5 Mar 2014 09:37:24 -0800 milinda <milinda....@gmail.com<javascript:>> > wrote: > > > Thanks Konrad. Your unquoting trick worked. But I am not exactly sure > how > > to reason about these types of situations. Can you please shed some > > lights behind the logic of above unquoting if possible. > > I suppose you refer to the ~'defpop, right? That is indeed a bit subtle. > An > unquote followed by a quote should cancel, one might think. The difference > comes from namespacing: `a resolves a in the current namespace, whereas > `~'a returns a symbol without a namespace. This matters because macrolet > (just like plain let) replaces only non-namespaced symbols. > > Konrad. > > -- 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/d/optout.