On Thu, Jan 6, 2011 at 1:08 PM, Raoul Duke <rao...@gmail.com> wrote: > On Thu, Jan 6, 2011 at 3:32 AM, Baishampayan Ghose <b.gh...@gmail.com> wrote: >> Haha! Same here. I have used transients many times too, but I fell >> into the trap this time :) > > now if only there were some kind of programming language technology > that could help us figure out when we're mis-applying operations to > things... ;-)
A compiler warning if the return value from assoc!, disj!, or conj! is discarded could help in this particular case. -- 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