Liking cljdoc? Tell your friends :D

quark.spec.defn


*cljs?*clj/s

source

adapt-conformedclj/s

(adapt-conformed conformed)
source

arg->kwclj/s

(arg->kw idx arg)

Converts are argument to a keyword. Arguments may use destructuring, so they may not be a symbol. In that case, just fill in something helpful.

Converts are argument to a keyword. Arguments may use destructuring, so they
may not be a symbol. In that case, just fill in something helpful.
sourceraw docstring

build-args-specclj/s

(build-args-spec conformed-arities exploded-arities)
source

build-catclj/s

(build-cat arity-arg-names arity-specs)
source

defn-spec-helperclj/s

(defn-spec-helper & args)
source

del+spec->specclj/s

(del+spec->spec {:keys [spec]})
source

explode-arityclj/s

(explode-arity arity)

Strips the specs from the arity's args and gets it ready for consumption. Does the job of s/unform, since s/unform doesn't do its job well.

Strips the specs from the arity's args and gets it ready for consumption.
Does the job of s/unform, since s/unform doesn't do its job well.
sourceraw docstring

explode-defclj/s

(explode-def & args)

Takes in the variadic values of a defn-spec and returns a map of the various parts. Handles multiple arities and optional doc strings.

Takes in the variadic values of a defn-spec and returns a map of the
various parts. Handles multiple arities and optional doc strings.
sourceraw docstring

extract-arg-specsclj/s

(extract-arg-specs arity)

Returns a sequence of specs, based on the arity's args.

Returns a sequence of specs, based on the arity's args.
sourceraw docstring

fix-aritiesclj/s

(fix-arities arities)
source

fix-arityclj/s

(fix-arity x)
source

get-global-defnclj/s

(get-global-defn)
source

name-arityclj/s

(name-arity arg-count)
source

render-arityclj/s

(render-arity {:keys [:quark.spec.defn/exploded-args
                      :quark.spec.defn/exploded-body]})

Turns an exploded arity into something which defn can consume.

Turns an exploded arity into something which defn can consume.
sourceraw docstring

render-bindingclj/s

(render-binding [kind value])

Doing the job of unform, since it turns destructured sequences into lists. 'cause it's silly.

Doing the job of unform, since it turns destructured sequences into lists.
'cause it's silly.
sourceraw docstring

spec-delimiter?clj/s

source

spec-fnclj/s

(spec-fn fn-name)
source

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

× close