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.