Well, Tassilo.

That's exactly means evaluation of argument that's contradict to
mentioned above documentation!

On 26 сен, 18:18, Tassilo Horn <[email protected]> wrote:
> ru <[email protected]> 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 [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to