News for hackers. Stuff that matters.
Re:What Clojure Spec is and what you can do with it by jwr on Thursday September 10, 2020 @03:58PM (#24435961)
Yes, that was largely my point. Many people (me included) assume that s/conform is a kind of coercion, which it is not.

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.

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.