You might want to check out zippers, which give you the ability to navigate and 'edit' a tree structure, but using immutable data structures.
There are some good explanations on this thread: http://groups.google.com/group/clojure/browse_thread/thread/d8871da625420b71/1bce7c6d9def2031 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---