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.
このように2番目のネストされた変数の文字列名を取得するにはどうすればよいですか?
(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"