1.2.0 permalink Arrow_down_16x16

find-ns-decls-in-dir

clojure.contrib.find-namespaces

  • (find-ns-decls-in-dir dir)
Searches dir recursively for (ns ...) declarations in Clojure
source files; returns the unevaluated ns declarations.

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:73 top

(defn find-ns-decls-in-dir
  "Searches dir recursively for (ns ...) declarations in Clojure
  source files; returns the unevaluated ns declarations."
  [^File dir]
  (filter identity (map read-file-ns-decl (find-clojure-sources-in-dir dir))))
Vars in clojure.contrib.find-namespaces/find-ns-decls-in-dir: defn filter identity map
Used in 0 other vars

Comments top

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