why does the existance of a namespace not suffice to use or require it? Currently, with clojure 1.3, it has to be associated with a class or clojure file.
The primary purpose of both use and require is to load code from a file in classpath.
So while I can't use or require it, I can refer it. However, what I really want to do is to require it with some short alias. Unfortunately, refer doesn't support an :as option.
For the purpose you describe, alias should work. (:as uses alias to do its job) user> (doc alias) ------------------------- clojure.core/alias ([alias namespace-sym]) Add an alias in the current namespace to another namespace. Arguments are two symbols: the alias to be used, and the symbolic name of the target namespace. Use :as in the ns macro in preference to calling this directly. --Steve -- 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