ClojureDocs

Nav

Namespaces

defmacro

clojure.core

Available since 1.0 (source)
  • (defmacro name doc-string? attr-map? [params*] body)
  • (defmacro name doc-string? attr-map? ([params*] body) + attr-map?)
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.