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.
如何像这样获取第二个嵌套 var 的字符串名称?
(def bar "abc") (defn string-var [foo] (...)) (= "bar" (string-var bar))
你可以这样做macro
macro
(def bar "abc") (defmacro string-var [foo] (name foo)) (string-var bar) => "bar"