Liking cljdoc? Tell your friends :D

spec-provider.rewrite


all-nilable-orclj/s

(all-nilable-or form)
source

all-nilable-or*clj/s

(all-nilable-or* x)
source

cat-namesclj/s

source

cat-predsclj/s

source

distinct-or*clj/s

(distinct-or* or-form)
source

distinct-orsclj/s

(distinct-ors specs)
source

fix-or-namesclj/s

(fix-or-names specs)

Works on the whole tree of specs

Works on the whole tree of specs
sourceraw docstring

flatten-orsclj/s

(flatten-ors specs)

Works on the whole tree of specs

Works on the whole tree of specs
sourceraw docstring

flatten-ors*clj/s

(flatten-ors* or-form)

Works on a single or expression

Works on a single or expression
sourceraw docstring

known-namesclj/s

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

maybe-promote-specclj/s

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

merge-same-name-defsclj/s

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

pred->nameclj/s

source

wrapclj/s

(wrap form wrapper)
source

zip-catclj/s

(zip-cat names preds)
source

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

× close