How to derive a protocol from another protocol?

2010-06-18 Thread Travis Hoffman
I'm trying to develop a hierarchy (of sorts) of protocols and I'm coming at it in from a Java Perspective, which I fully understand might be my problem. In Java, I would do something like this: interace A { public void aFoo(); } interface B { public void bFoo(); } interfacece AB extends A, B

Re: How to derive a protocol from another protocol?

2010-06-18 Thread David Nolen
Unless I'm mistaken, protocols cannot be derived. David -- 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

Re: How to derive a protocol from another protocol?

2010-06-18 Thread Nicolas Oury
I believe that too. It is not clear to me why you would need that without static typing. On Fri, Jun 18, 2010 at 10:50 PM, David Nolen wrote: > Unless I'm mistaken, protocols cannot be derived. > > David > > -- > You received this message because you are subscribed to the Google > Groups "Cloju