defn-

macrosince v0.0-927imported clojure.core/defn-Edit
(defn- name & decls)

Details:

Same as defn, but adds {:private true} metadata to the definition.

Note: :private metadata is not currently enforced by the ClojureScript compiler.


See Also:


Source docstring:
same as defn, yielding non-public def
Source code @ clojure:src/clj/clojure/core.clj
(defmacro defn-
  [name & decls]
    (list* `defn (with-meta name (assoc (meta name) :private true)) decls))