On Tue, Apr 6, 2010 at 10:43 PM, Douglas Philips <[email protected]> wrote: > On 2010 Apr 6, at 10:59 AM, Christophe Grand wrote: >> >> The cycles are gone but the identity john-doe aand its curren-state are >> still conflated so you get the same problem: > > Thus, since simple trees have the exact same issues, circularity is not the > problem.
I agree. The deeper problem there is identity-value conflation rather than circularity. As for the general problem of manipulating immutable cyclic data structures, it admittedly requires techniques not usually taught even in advanced courses on functional programming. A good paper to read is Cycle Therapy: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.64.2027 -Per -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en To unsubscribe, reply using "remove me" as the subject.
