(alias alias-fn)
Takes a function (or map) that will receive a spec name and should return a spec name, a collection of spec names, or nil
.
Returns a transducer that will add aliased spec entries.
Takes a function (or map) that will receive a spec name and should return a spec name, a collection of spec names, or `nil`. Returns a transducer that will add aliased spec entries.
(compile introspection-response)
(compile introspection-response xform)
Takes a GraphQL introspection query response and an optional transducer.
The transducer will receive map entries where the keys are qualified keywords and the values are spec forms.
Returns a topologically sorted vector of s/def
forms.
Takes a GraphQL introspection query response and an optional transducer. The transducer will receive map entries where the keys are qualified keywords and the values are spec forms. Returns a topologically sorted vector of `s/def` forms.
(def-specs introspection-response)
(def-specs introspection-response xform)
(def-specs &form &env introspection-response)
(def-specs &form &env introspection-response xform)
Same as compile
except arguments are eval
ed and it's a macro.
Same as `compile` except arguments are `eval`ed and it's a macro.
(extend extend-fn)
Takes a function (or map) that will receive a spec name and should return a spec form or nil
.
Returns a transducer that combines specs with s/and
.
Takes a function (or map) that will receive a spec name and should return a spec form or `nil`. Returns a transducer that combines specs with `s/and`.
(postfix-args postfix-args-fn)
Takes a function (or map) that will receive a spec name postfixed with %
and should return a new postfix or nil
.
Returns a transducer that replaces keywords postfixed with %
.
Takes a function (or map) that will receive a spec name postfixed with `%` and should return a new postfix or `nil`. Returns a transducer that replaces keywords postfixed with `%`.
(prefix prefix-fn)
Takes a function (or map) that will receive a spec name prefixed with *ns*
and should return a new prefx or nil
.
Returns a transducer that replaces keywords prefixed with *ns*
.
Takes a function (or map) that will receive a spec name prefixed with `*ns*` and should return a new prefx or `nil`. Returns a transducer that replaces keywords prefixed with `*ns*`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close