Re: Inheritance & multiple inheritance using structs

2009-01-22 Thread aria42
[sorry for duplicating content from the email i sent you David] Would anyone be interested in simplifying some of the boilerplate for defining methods in clojs? Currently you have to do this, (defclass circle [shape] (:radius 10)) (defmulti area :tag) (defmethod area ::circle [this] (* (:radiu

Re: Inheritance & multiple inheritance using structs

2009-01-22 Thread evins.mi...@gmail.com
On Jan 19, 12:38 am, David Nolen wrote: > Of course it might be the case that not many people are interested in the > implementing ideas from CLOS for Clojure It's definitely interesting. I'd like to have eql specializers and the ability to build hierarchies of arbitrary types (e.g. a hierarch

Re: Inheritance & multiple inheritance using structs

2009-01-19 Thread Emeka
Great job! Emeka --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr...@googl

Re: Inheritance & multiple inheritance using structs

2009-01-18 Thread David Nolen
Of course it might be the case that not many people are interested in the implementing ideas from CLOS for Clojure especially since there's a lot of exciting new functional ground to cover in Clojure first ;) I come from a UI background so I'm interested in the OO implications/possiblities of Cloj