Re: inline vs extended types

2010-09-17 Thread grinnbearit
Thanks for replying, Would definterface be the right thing to do in this case? I'm trying to understand how best to solve similar problems and not this one in particular. sincerely Sidhant -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

inline vs extended types

2010-09-16 Thread SIdhant Godiwala
Hey guys, I'm having some issues with defining types using deftype and would really appreciate some help. Inspired by Mark Engelberg's PersistentPriorityMap http://github.com/clojure/clojure-contrib/blob/master/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj, I

Re: inline vs extended types

2010-09-16 Thread Meikel Brandmeyer
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