• (ns-wipe ns)
Unbind all symbols in a namespace

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 circumspec/utils.clj:28 top

(defn ns-wipe
  "Unbind all symbols in a namespace"
  (when (find-ns ns)
    (doseq [sym (map first (ns-publics ns))]
      (ns-unmap ns sym))))
Vars in circumspec.utils/ns-wipe: defn doseq find-ns ns ns-unmap when
Used in 0 other vars

Comments top

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