What was the take on spec and coercions again - spec isn't meant to do coercions of values (during conformation), rather it only validates or conforms values, right? Then what is the opinion on a library like this one? https://github.com/exoscale/coax
My reading of comments by Alex, at least, is that Specs should not do coercions, but libraries that infer coercions from Specs, and do those coercions "outside" Spec are a good way to do stuff.
Our "web specs" library does the coercions internally in the Specs ("bad") but I've been looking at moving to spec-coerce
instead (or maybe coax
) and deprecating our library @borkdude
Nice, thanks. Coax looks pretty cool