That is not a bug. You should NEVER use transient and its related functions to emulate variables - you're supposed to use assoc! and friends as if they're pure functions. That is, always use the return value of assoc! and don't rely on its argument being modified.
something like: (loop [x (transient {}) i 0] (if (< i 10) (recur (assoc! x i (* i i)) (inc i)) (persistent! x))) -- 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