defnw
/defnw-
are substitutes for
defn
/defn-
but add an option for :cond
and :let
vectors in the :pre
map,
useful for handling special cases outside the function's body.
`defnw`/`defnw-` are substitutes for [defn](https://clojuredocs.org/clojure.core/defn) /[defn-](https://clojuredocs.org/clojure.core/defn-) but add an option for `:cond` and `:let` vectors in the `:pre` map, useful for handling special cases outside the function's body.
(-defnw call-name & definition)
internal macro implementation for defn/defn- alternatives that allows definition of conditions and return values for special cases inside the pre-post map
internal macro implementation for defn/defn- alternatives that allows definition of conditions and return values for special cases inside the pre-post map
(defnw & definition)
defn alternative that allows definition of conditions and return values for special cases inside the pre-post map
defn alternative that allows definition of conditions and return values for special cases inside the pre-post map
(defnw- & definition)
defn- alternative that allows definition of conditions and return values for special cases inside the pre-post map
defn- alternative that allows definition of conditions and return values for special cases inside the pre-post map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close