This may be a horrible hack, but you can do something like this in
your macro:

(clojure.lang.RT/var "my-namespace" "hack-fn" (fn[x] (+ 1 x))

This defines a var (creates the namespace if it doesn't exist) and
sets its value to a function, and then you can

(in-ns 'my-namespace)
(hack-fn 1)

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