Is there an idiomatic way to get available namespaces that can be used?
(all-ns)
returns only already used namespaces. (Package/getPackages)
returns all Java packages available for import
, but only those Clojure namespaces that are already used.
Then I stumbled upon this post, but it uses some classpath magic.
So I want to get something like ('clojure.core 'clojure.set ... 'clojure.contrib.accumulators 'clojure.contrib.condition ...)
if I have the clojure.jar and contrib.jar on my classpath, but I haven't used anything yet.