I think you should look at the binding function - 
http://clojuredocs.org/clojure_core/clojure.core/binding

In my tests, I am using this to run the same tests using two different 
functions, which are supposed to do the same thing (using two different 
methods, internally).

In your case though, you might need a way to figure out in which context is 
it running (to be able to change the bindings).

HIH,
Manoj.

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

Reply via email to