On 08.01.2010, at 20:21, Raoul Duke wrote:
might anybody have examples of how one deftype can implement protocols from multiple other namespaces? i have not yet been able to suss out the correct syntax i guess.
There's nothing special about protocols. defprotocol creates a protocol object and assigns it to a var named by a symbol. You can access this name from other namespaces using "require" or "use", just like any other name.
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