I am trying to do the equivalent of a syntax-quote (converting  
unqualified symbols to namespace-qualified symbols) inside a macro,  
but it seems there is no built-in function to do this. Am I  
overlooking something?

At the moment I am using the following function, which does a syntax- 
quote for a single symbol:

(defn symbol-in-current-ns
   [s]
   (symbol (str *ns*) (str s)))

Konrad.


--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to