find-ns-decls-on-classpath

clojure.contrib.find-namespaces

  • (find-ns-decls-on-classpath)
Searches CLASSPATH (both directories and JAR files) for Clojure
source files containing (ns ...) declarations. Returns a sequence
of the unevaluated ns declaration forms.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/find_namespaces.clj:122 top

(defn find-ns-decls-on-classpath
  "Searches CLASSPATH (both directories and JAR files) for Clojure
  source files containing (ns ...) declarations.  Returns a sequence
  of the unevaluated ns declaration forms."
  []
  (concat
   (mapcat find-ns-decls-in-dir (cp/classpath-directories))
   (mapcat find-ns-decls-in-jarfile (cp/classpath-jarfiles))))
Vars in clojure.contrib.find-namespaces/find-ns-decls-on-classpath: concat defn mapcat
Used in 0 other vars

Comments top

No comments for find-ns-decls-on-classpath. Log in to add a comment.