ClojureDocs

Nav

Namespaces

core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

cat

  • (cat & key-pred-forms)
Takes key+pred pairs, e.g.
 (s/cat :e even? :o odd?)
 Returns a regex op that matches (all) values in sequence, returning a map
containing the keys of each pred and the corresponding value.