Skip to main content

defmacro

macrov1.0

clojure.core/defmacro

Available in:BBCLJCLJS
(defmacro [name doc-string? attr-map? [params*] body] [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.

No examples yet. Be the first to add one!