Fork me on GitHub
#clojure-spec
<
2020-06-25
>
denik16:06:05

anyone have an idea why this returns invalid?

(s/conform (s/cat
             :kvs (s/and (s/* any?) (s/conformer identity)))
           [:foo :bar])
=> :clojure.spec.alpha/invalid

borkdude21:06:30

@denik

(s/conform (s/cat
             :kvs (s/& (s/* any?) (s/conformer identity)))
           [:foo :bar])

🙏 1