Fork me on GitHub
#clojure-spec
<
2019-07-30
>
misha15:07:32

@afoltzm "required" aliases work too:

(require '[clojure.spec.alpha :as s])
::s/invalid
;=> :clojure.spec.alpha/invalid

Alex Miller (Clojure team)15:07:00

they work, assuming that the qualifier actually corresponds to a real clj namespace

dharrigan21:07:09

Is there a spec that tests for an empty map (as a value) i.e., {:foo {}}?

minimal21:07:13

(s/def ::empty-map #{{}})