ClojureDocs

导航

命名空间

defmacro

clojure.core

自 1.0 起可用 (源代码)
  • (defmacro 名称 文档字符串?属性映射?[参数*]主体)
  • (defmacro 名称 文档字符串?属性映射?([参数*]主体) + 属性映射?)
Like defn, but the resulting function name is declared as a
macro and will be used as a macro by the compiler when it is
called.