On Sat, Mar 21, 2009 at 1:38 PM, CuppoJava <patrickli_2...@hotmail.com> wrote: > (mymethod (assoc object :tag :super-class)) > which is a little clumsy.
Not only is it clumsy, but if mymethod returns a fresh object that is based off of this object in some way (e.g., a non-destructive "setter"), the return value will have this super-class tag rather than the original, which is probably not the desired behavior. --~--~---------~--~----~------------~-------~--~----~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---