问题
How do I list the functions/vars of a ClojureScripts namespace ?
This is a question that has an equivalent for Clojure, but the solutions mentioned did not work for me.
回答1:
clojure.repl/dir works for me with latest ClojureScript (1.7.228)
回答2:
Fow now I am doing :
(.keys js/Object my.ns)
As it looks like a namespace is an js object.
来源:https://stackoverflow.com/questions/35038798/clojurescript-list-functions-of-a-namespace