On Jul 30, 1:29 am, John Harrop <[email protected]> wrote:
> user=> (definline addsq [a b] `(+ (* ~a ~a) (* ~b ~b)))
> #'hxr.clj.util/addsq
> user=> (addsq (do (println "a evaluated") 1) 1)
> a evaluated
> a evaluated
> 2

You write the expansion, so you are in control of multiple evaluation.

Rich
--~--~---------~--~----~------------~-------~--~----~
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