Hi,

On 15 Sep., 12:55, SIdhant Godiwala <sidhant.godiw...@gmail.com>
wrote:

> Is there any way to define the MultiMap protocol inline with the
> clashing methods?

How could there be one? The compiler cannot decide which method to
call. Although their name is the same the could have completely
different meaning for the different interfaces. Maybe you can go with
definterface and derive your IPersistentMultiMap from IPersistentMap
instead of using a protocol.

When you extend the protocol to the MultiMap type, then the MultiMap
does not implement the underlying interface and no clash happens.

Sincerely
Meikel

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