user=> (def foo 1) #'user/foo user=> foo 1 user=> (ns-unmap 'user 'foo) ; explicit nil user=> (ns-unmap *ns* 'foo) ; convenient nil user=> foo "Unable to resolve symbol: foo in this context"
(defn ns-unmap
"Removes the mappings for the symbol from the namespace."
{:added "1.0"
:static true}
[ns sym]
(.unmap (the-ns ns) sym))
Comments top
No comments for ns-unmap. Log in to add a comment.