Liking cljdoc? Tell your friends :D

formatting-stack.formatters.clean-ns.impl


any-leaf?clj

(any-leaf? pred form)

Does any leaf in form (to be traversed with clojure.walk) satisfy pred?

Does any leaf in `form` (to be traversed with clojure.walk) satisfy `pred`?
raw docstring

clean-ns-formclj

(clean-ns-form how-to-ns-opts filename original-ns-form)

ensure-vectorclj

(ensure-vector x)

ensure-whitelistclj

(ensure-whitelist ns-form whitelist original-ns-form)

ns-form-ofclj

(ns-form-of filename)

parse-require-formclj

(parse-require-form ns-form)

used-namespace-namesclj

(used-namespace-names filename)

NOTE: this returns the set of namespace names that are used, not the set of namespaces that are used.

e.g. a namespace which is exclusively used through :refer has a 'unused namespace name', but it is not unused (because it is referred).

Use with caution accordingly, and not as a exclusive source of truth.

NOTE: this returns the set of namespace _names_ that are used, not the set of namespaces that are used.

e.g. a namespace which is exclusively used through `:refer` has a 'unused namespace name',
but it is not unused (because it is referred).

Use with caution accordingly, and not as a exclusive source of truth.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close