macro | since v0.0-927 | imported clojure.core/defn- | Edit |
(defn- name & decls)
Same as defn
, but adds {:private true}
metadata to the definition.
Note: :private
metadata is not currently enforced by the ClojureScript
compiler.
same as defn, yielding non-public def
(defmacro defn-
{:added "1.0"}
[name & decls]
(list* `defn (with-meta name (assoc (meta name) :private true)) decls))