@slipset I think coerce
would be a good idea. It would call s/conform
& s/unform
to get the orignal value.
I wrote a issue into clj jira to enable coercion into spec, with single sweep. It would be easy to implement there - and fast.
currently, we can't extend spec like this from outside (libs like spec-tools) - without copying all internals.
Thanks, performant or not, unform
was what I was looking for.