I should have brought this up before 1.1 was released, but I'm bothered by the change of clojure.core/import from a function to a macro.
If I'm creating a namespace dynamically, I can't evaluate the name of the class I want to pass to import. The only way is to use undocumented Java functions, like: (defn import-name "Import a class named c (a String) into namespace n." [n c] (.importClass n (clojure.lang.RT/classForName c))) Of course, I can write a macro that evaluates the strings, but that's not really what I want. I want the equivalent of clojure.core/intern for classes. Is there a better way? -SS -- 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