Re:What Clojure Spec is and what you can do with it
by didibus on Friday September 11, 2020 @12:44PM
(#24444585)
Ya fair enough, I've definitely seen a lot of people think conforming is meant for coercion. But it's not, it's only meant for disambiguating the chosen path (when multiple are possible) for validation.
Not all of the above problems are due to coercion, but the majority are.
To be clear: I'm not complaining here, I find spec to be very useful and I like it, just pointing out traps for the unwary.