find-namespaces-in-jarfile

clojure.contrib.find-namespaces

  • (find-namespaces-in-jarfile jarfile)
Searches the JAR file for Clojure source files containing (ns ...)
declarations. Returns a sequence of the symbol names of the
declared namespaces.

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

(defn find-namespaces-in-jarfile
  "Searches the JAR file for Clojure source files containing (ns ...)
  declarations.  Returns a sequence of the symbol names of the
  declared namespaces."
  [^JarFile jarfile]
  (map second (find-ns-decls-in-jarfile jarfile)))
Vars in clojure.contrib.find-namespaces/find-namespaces-in-jarfile: defn map second
Used in 0 other vars

Comments top

No comments for find-namespaces-in-jarfile. Log in to add a comment.