My understanding is that data.xml returns data as defrecords and they implements IPersistentMap, so I think editscript should work for data.xml. Please let me know how it goes if you do try. The performance should be good as maps are cheap to diff.
Currently, anything implements IPersistentMap, IPersistentVector, IPersistentSet and IPersistentList would be treated as potential internal tree nodes by editscript and would be drilled down for comparison. Anything else is treated as tree leaves at this moment. Cheers. -huahai On Thu, May 3, 2018 at 11:11 AM, Gregg Reynolds <d...@mobileink.com> wrote: > > > On Tue, May 1, 2018, 1:52 AM <hy...@juji-inc.com> wrote: > >> Hello, >> >> I am happy to make available a diffing/patching library for Clojure data >> structures. >> > >> https://github.com/juji-io/editscript >> > > That looks very good! Am I right that this could be used along with e.g. > data.xml (https://github.com/clojure/data.xml) to do XML diffing? > > Thanks! > > Gregg > > -- > 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 > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/clojure/f6VlkssviAM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- __________________ Huahai Yang, Ph.D. Co-founder and CTO Juji, Inc. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.