I know how it operates, I just find it limiting
Because to check if something is a regex I have to do (s/regex? (or (s/get-spec spec) spec)) instead of just (s/regex? spec)
(s/form (s/keys* :req-un [::foo]))
=> (clojure.spec.alpha/&
(clojure.spec.alpha/*
(clojure.spec.alpha/cat
:clojure.spec.alpha/k
clojure.core/keyword?
:clojure.spec.alpha/v
clojure.core/any?))
:clojure.spec.alpha/kvs->map
mspec__2546__auto__)
that doesn't look right...You’re looking at an expanded macro.
s/form for other specs, that are also implemented as macros, return the form used in code
right!
This is a known issue that’s addressed in spec 2