On Tuesday, March 28, 2017 at 11:52:11 AM UTC-5, Didier wrote:
>
> I was wondering if protocols do or will be extended to support specs?


I think that's undetermined at this point.
 

> I'm thinking in the two following ways:
>
> 1) I can spec a protocol's functions so that whoever implements it has a 
> better and more complete specification of how it should do so.
>

Yes, seems useful.
 

> 2) Protocols can dispatch based on the tagged entity of the first 
> argument. So if I have a multi-spec for a map, it can be used as a record, 
> in that I can have protocol implementations for each type of the specced 
> map.
>

I don't understand what this one is.  

-- 
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