Fork me on GitHub
#clojure-spec
<
2019-11-06
>
sgerguri02:11:23

I (and my colleagues) tend to do that, then things are nicely collocated. Doubly useful when your spec is a complicated s/and - if you wrap with s/with-gen it's all neatly in one place.

👍 4
telekid21:11:04

Is there a functional difference between (s/spec some-pred :gen some-gen) and (s/with-gen some-pred (constantly some-gen))?