Re: recombining results from clojure.data/diff

2015-10-19 Thread Fluid Dynamics
On Monday, October 19, 2015 at 3:49:41 AM UTC-4, JvJ wrote: > > Merge isn't recursive on substructures. Of course, there's (fn foo [m1 m2] (if (and (map? m1) (map? m2)) (merge-with foo m1 m2) m2)) ... -- You received this message because you are subscribed to the Google Groups "Clojure" group

Re: recombining results from clojure.data/diff

2015-10-19 Thread JvJ
Merge isn't recursive on substructures. -- 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 unsubscr

Re: recombining results from clojure.data/diff

2015-10-16 Thread Robin Heggelund Hansen
You can also take a look at patchin or differ (differ is my project) for this usecase. torsdag 15. oktober 2015 23.26.01 UTC+2 skrev JvJ følgende: > > I just discovered clojure.data/diff, and it's great. However, I'm not > sure how to recombine the results to get back the original. > > For inst

Re: recombining results from clojure.data/diff

2015-10-15 Thread Sean Johnson
On Thursday, October 15, 2015 at 5:26:01 PM UTC-4, JvJ wrote: > > I just discovered clojure.data/diff, and it's great. However, I'm not > sure how to recombine the results to get back the original. > > For instance, if (diff a b) = c, then how can I combine b and c to get > back to a? > > Merge

recombining results from clojure.data/diff

2015-10-15 Thread JvJ
I just discovered clojure.data/diff, and it's great. However, I'm not sure how to recombine the results to get back the original. For instance, if (diff a b) = c, then how can I combine b and c to get back to a? -- You received this message because you are subscribed to the Google Groups "Clo