Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想查看当前命名空间中定义的所有函数。我可以在 REPL 中调用一个函数来回答这个问题吗?
您可以将ns-map函数与*ns*变量一起使用。
ns-map
*ns*
(ns-map *ns*)
clojure.org 名称空间页面上概述了所有名称空间功能。