clojure-spec

About: http://clojure.org/about/spec Guide: http://clojure.org/guides/spec API: https://clojure.github.io/spec.alpha/clojure.spec.alpha-api.html
denik 2020-06-25T16:16:05.406900Z

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

borkdude 2020-06-25T21:00:30.407400Z

@denik

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

🙏 1