(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close