ClojureDocs

导航

命名空间

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.