Fork me on GitHub
#clojure-spec
<
2021-11-11
>
dominicm21:11:47

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).

colinkahn22:11:30

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

colinkahn22:11:45

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

dominicm22:11:31

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

👍 1