> I think, what James wants to say is: serialising reference types is > non-trivial. Reference types are identities. So the instance itself (as in > identical?) carries information. When you have references to a ref you have > to make sure that they all refer to the same ref again after thawing.
Okay, gotcha! Actually your example was perfect: yes, this is clearly a problem. Indeed I hadn't put much thought into it since I personally have no use for de/serialization of STM objects. I think the identity issue should be solvable but before opening that door: is this something anyone _wants_ solved? Is there a good use- case for trying to freeze STM objects? What do you think, Timothy? Maybe best to disable the STM stuff for now to avoid possible confusion? -- Peter -- 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