(fix-or-names specs)
Works on the whole tree of specs
Works on the whole tree of specs
(flatten-ors specs)
Works on the whole tree of specs
Works on the whole tree of specs
(flatten-ors* or-form)
Works on a single or expression
Works on a single or expression
(known-names specs)
Replace instances of nested specs that are identical to named specs with the name
Replace instances of nested specs that are identical to named specs with the name
(maybe-promote-spec spec)
Promote spec to top level if it's wrapped inside a (s/spec ...)
Promote spec to top level if it's wrapped inside a (s/spec ...)
(merge-same-name-defs specs)
Merge top-level defs with the same name under one spec with an s/or. Preserves order of specs.
Merge top-level defs with the same name under one spec with an s/or. Preserves order of specs.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close