> You need gen-class when you want (or have to) derive from another > class. defrecord/deftype/reify don't allow that, while gen-class/proxy > do.
I suppose this is for when you want to add fields to an already existing class? (I'm assuming that adding methods could be done with extend/extend-protocol?) U -- 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