Clojure has a spec generator for the core some? predicate:
But ClojureScript is lacking this:
Implementation guidance:
Here is the generator in Clojure:
https://github.com/clojure/spec.alpha/blob/2329bb2d869ce59d92a401082587cc82edfce95a/src/main/clojure/clojure/spec/gen/alpha.clj#L136
This would be added to ClojureScript around here:
https://github.com/clojure/clojurescript/blob/6353a9b381144d6d0caa621322af9587922e7c07/src/main/cljs/cljs/spec/gen/alpha.cljs#L92
fixed https://github.com/clojure/clojurescript/commit/78a013a295442d272f3b6bbf2cf4f5b464ea222a