Well, Tassilo. That's exactly means evaluation of argument that's contradict to mentioned above documentation!
On 26 сен, 18:18, Tassilo Horn <tass...@member.fsf.org> wrote: > ru <soro...@oogis.ru> writes: > > user=> (defmacro infix [[x f y]] `(~f ~x ~y)) > > #'user/infix > > user=> (infix (5 + 4)) > > 9 > > > Ok, this is working! But, what's the difference? > > Your code: > > user=> (defmacro infix [e] `(let [[x# f# y#] ~e] (f# x# y#))) > > The ~e evaluates the given form, which looks like a function but is not. > > Bye, > Tassilo -- 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