Hi!

I'd like to use a macro in a configuration .clj file.  This macro is
supposed to def some vars in appropriate namespaces.  However, I'm
getting the exception from the subject.  Is there a way to write a
macro which temporarily binds *ns* to some namespace so that it can
"def" things in there?

I've unsuccessfully tried something like:
`(binding [*ns* (find-ns 'target-ns)]
    (defn fun [] ...))

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