Re: best way to edit EDN value in cljs

2014-10-11 Thread Dylan Butman
you can do some pretty powerful things using update-in and merge-with, especially if combined with protocols or multimethods that determine behavior. Can you give a more specific example of what you're trying to do? deep-merge and deep-merge-with are also useful here. There are a lot of nearly

best way to edit EDN value in cljs

2014-10-10 Thread Dustin Getz
I have an arbitrarily nested EDN value stored in an atom in ClojureScript. What is the best way to make edits to an arbitrary subtree of this value? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: best way to edit EDN value in cljs

2014-10-10 Thread Mike Fikes
Can you use update-in or assoc-in? On Friday, October 10, 2014 2:28:26 PM UTC-4, Dustin Getz wrote: I have an arbitrarily nested EDN value stored in an atom in ClojureScript. What is the best way to make edits to an arbitrary subtree of this value? -- You received this message because you