I was wondering if protocols do or will be extended to support specs?

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.

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.

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