On 03.03.2010, at 16:05, Andrea Tortorella wrote:

> given that a protocol is represented as a simple map, which is the
> way to know if something is infact a protocol.

I don't think that is possible without relying on undocumented characteristics 
that are likely to change. What do you need this for?

> Or suppose i want to add a function that works on protocols how can i do that?

Just like for any other data type: using the existing functions that work on 
protocols. But again, what kind of function do you have in mind?

Konrad.

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

Reply via email to