Hi, On Jul 14, 4:30 am, Yang Dong <ydong.pub...@gmail.com> wrote:
> `body' on the 5th line is not evaluted when the macro got expanded, > but the `mapcar' on the 2nd line is evaluated. No. Both are evaluated when the macro is expanded. body evaluates to whatever is bound to the argument. (our-let [...] (this) (is the) (body)) In this case body evaluates to "((this) (is the) (body))" which is inserted into the macro expansion. (Note: since we use unquote-splice aka. ~@ instead of plain unquote aka. ~ the outer list is spliced away in the expansion) Hope this helps. Sincerely Meikel -- 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