[org.clojure/clojure "1.11.0-alpha2"]
clojure.spec.alpha
Repro (see or
inside keys
):
(s/def :x/foo int?)
(s/def :x/bar string?)
(s/form (s/keys :req-un [(or :x/foo :x/bar)]))
; => (clojure.spec.alpha/keys :req-un [(or :x/foo :x/bar)])
(s/form (s/and (s/keys :req-un [(or :x/foo :x/bar)])))
;=> (clojure.spec.alpha/and (clojure.spec.alpha/keys :req-un [(clojure.core/or :x/foo :x/bar)]))
Is there a way to force or
to be namespaced in the first form
?