You're viewing version 1.2.0 of all-ns. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

all-ns

clojure.core

  • (all-ns)
Returns a sequence of all namespaces.

1 Example top

  • user=> (all-ns)
    (#<Namespace clojure.set> #<Namespace clojure.pprint> #<Namespace cake.contrib.server-socket> #<Namespace user> #<Namespace clojure.main> #<Namespace useful.io> #<Namespace clojure.core> #<Namespace clojure.java.shell> #<Namespace cake.tasks.help> #<Namespace clojure.zip> #<Namespace clojure.java.browse> #<Namespace clojure.repl> #<Namespace cake.tasks.new> #<Namespace cake.server> #<Namespace cake.ant> #<Namespace cake.contrib.find-namespaces> #<Namespace clojure.java.io> #<Namespace clojure.stacktrace> #<Namespace clojure.core.protocols> #<Namespace cake.project> #<Namespace clojure.xml> #<Namespace clojure.java.javadoc> #<Namespace useful> #<Namespace complete> #<Namespace cake>)
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:3195 top

(defn all-ns
  "Returns a sequence of all namespaces."
  {:added "1.0"}
  [] (clojure.lang.Namespace/all))
Vars in clojure.core/all-ns: defn

Comments top

No comments for all-ns. Log in to add a comment.