Hi I am trying to extend Clojures' print-method using defmethod for a library I develop.: How can I do this without affecting users of my lib (i want only my lib to be affected )?
(derive clojure.lang.Fn ::fn) (prefer-method print-method ::fn java.lang.Object) (defmethod print-method ::fn [o w] (.write w "Some Fn") This is quite nice, but I would like to use a private hierarchy for the above, but cant. (print-method is defined on global hierarchy) What should I do ? -- 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