Yep, appears that you are right. I ended with this:
(doseq
[[k v] (ns-map ns)
:when (= (find-ns 'clojure.core) (:ns (meta v)))]
(ns-unmap ns k))
which is pretty ugly.
Justin Smith writes:
> refer-clojure doesn't ever remove mappings, it only adds them
>
> The reason a refer-c
refer-clojure doesn't ever remove mappings, it only adds them
The reason a refer-clojure clause in your ns form can prevent bindings is
because your refer-clojure clause (which is likely more qualified than the
default) overrides the args that ns would otherwise provide to
refer-clojure.
On Sat
Apologies, didn't mean to follow that thread!
Phillip Lord writes:
> I am confused about how to exclude clojure.core from a namespace already
> exists. That is, I have not just created the namespace, but it's been
> given to me by a tool.
>
> Consider, for example:
>
>
>
>
> lein repl
> nREPL s
I am confused about how to exclude clojure.core from a namespace already
exists. That is, I have not just created the namespace, but it's been
given to me by a tool.
Consider, for example:
lein repl
nREPL server started on port 41054 on host 127.0.0.1 - nrepl://127.0.0.1:41054
REPL-y 0.3.7, n