Thank you for the link. This doesn’t, from what I can tell, work on all Clojure datastructures, but a JSON-compatible subset.
> 15. nov. 2014 kl. 23.09 skrev Karsten Schmidt <i...@toxi.co.uk>: > > Hi Robin, I just found a link to this library in the depths of the > Liberator docs: > > https://github.com/daviddpark/clj-json-patch > > Maybe that's more helpful... (haven't tried it myself, but had to think of > you) > > On 14 November 2014 07:35, Robin Heggelund Hansen <skinney...@gmail.com> > wrote: >> If you look at the issues list, you'll see that I tried it already ;) >> >> kl. 06:51:14 UTC+1 fredag 14. november 2014 skrev Ruslan Prokopchuk >> følgende: >>> >>> May be this one will be helpful https://github.com/timothypratley/patchin >>> >>> четверг, 13 ноября 2014 г., 11:31:39 UTC+3 пользователь Robin Heggelund >>> Hansen написал: >>>> >>>> I'm in need of a library that is able to create a patch for some Clojure >>>> datastructure, and apply it at a later time. This has to work in both >>>> Clojure and Clojurescript. >>>> >>>> The use case is that I'm autosaving a datastructure (through repeatedly >>>> doing ajax calls, could be done over websocket) that has 10-20kb of data, >>>> so >>>> I only want to send the diffs to the server. I'm currently using a >>>> combination of clojure.data/diff and some functions I've created myself to >>>> apply that diff. I don't particular like the api of clojure.data/diff as >>>> it's confusing (especially related to vectors) and, from my experience, >>>> doesn't always respect type information. >>>> >>>> I'm currently in the process of creating my own library for this (will be >>>> open-source, you can follow the process at github.com/Skinney/differ), but >>>> before I invest alot of effort into this, I'm wondering if something like >>>> this already exists? >>>> >>>> Thanks! >> >> -- >> 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. > > > > -- > Karsten Schmidt > http://postspectacular.com | http://toxiclibs.org | http://toxi.co.uk > > -- > 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/WBY5f3SVYxs/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. -- 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.