clojure-spec

dominicm 2021-11-11T21:01:47.180900Z

Is there a version of flowing s/and for spec1 or a workaround that produces the same effect? (a version that doesn't pass conformed values to subsequent predicates, as described in https://github.com/clojure/spec-alpha2/wiki/Differences-from-spec.alpha#nonflowing-sand--new).

2021-11-11T22:29:30.181100Z

(s/and (s/nonconforming <your-spec>) …)

2021-11-11T22:30:45.181300Z

You’ll need to wrap each spec that you want to avoid conforming for in s/nonconforming, more specifically

dominicm 2021-11-11T22:52:31.181500Z

@colinkahn you are wonderful, thank you kindly. You've got me out of a very tricky hole!

👍 1