Given that conform takes an arbitrary (opaque) function, I don't think 
that's generically possible.


On Saturday, June 18, 2016 at 7:37:33 AM UTC-5, Leon Grapenthin wrote:
>
> Assume I parse with conform. 
>
> Then I have functions that operate on the value returned by conform. I 
> want to spec them.
>
> But I can't get a spec for the value returned by conform (so that I can 
> spec said functions) automatically.
>
> Imagine `(s/conform-spec ::my-spec)` would return the spec of the result 
> of calling (s/confom ::my-spec foo)
>
> So it would probably be valuable if a spec could give a spec of what its 
> conform* returns`
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to