How do you get all the functions defined in the namespace in Clojure?
-
28-10-2019 - |
Question
I want to see all the functions defined in the current namespace. Is there a function I can call in the REPL that can answer this question?
Solution
You can use the ns-map
function along with the *ns*
variable.
(ns-map *ns*)
All the namespace functions are outlined on the clojure.org namespaces page.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow