Liking cljdoc? Tell your friends :D
Clojure only.

gabrielash.defnw.core

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.
raw docstring

-defnwcljmacro

(-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
sourceraw docstring

defnwcljmacro

(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
sourceraw docstring

defnw-cljmacro

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close