why does (clojure.repl/source in-ns) not work while (doc in-ns) gives the documentation?
I even tried to change my namespace into clojure.core but did not help … Can somebody tell me why this is happening..?
why does (clojure.repl/source in-ns) not work while (doc in-ns) gives the documentation? I even
Share
Interestingly, there is no source link for in-ns function in online documentation and I couldn’t find this function in core.clj on github either.
It seems that this particular function was hardcoded in Java beneath clojure implementation.
See this link:
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/RT.java
and this piece of code is your
in-ns: