aria42 a écrit :
Is there a way to say that a protocol extends another protocol or
interface? I.e. can i specify that a given protocol must also support
the "seq" method from  clojure.lang.Seqable?

No. There is no hierarchy to protocols. This fits pretty well with the dynamic nature of Clojure, in my opinion: all checks of the type "does this value fit with that function" are done at runtime.

Konrad


__________ Information provenant d'ESET NOD32 Antivirus, version de la base des 
signatures de virus 4942 (20100313) __________

Le message a été vérifié par ESET NOD32 Antivirus.

http://www.eset.com


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