Since refer is now deprecated, and refer* is private, refer-clojure cannot (correctly) macroexpand to a refer* invocation outside of the ns form where it is sanboxed within a fn compiled in clojure.core. Rather than implement refer-clojure as a macro and conditionally employ the same (with-ns clj (eval)) tactic used by ns, this patch simply makes refer-clojure a fn which invokes refer*.
Since
refer
is now deprecated, andrefer*
is private,refer-clojure
cannot (correctly) macroexpand to arefer*
invocation outside of thens
form where it is sanboxed within afn
compiled inclojure.core
. Rather than implementrefer-clojure
as a macro and conditionally employ the same(with-ns clj (eval))
tactic used byns
, this patch simply makesrefer-clojure
a fn which invokesrefer*
.Fixes #132