Thanks for the link! I looked into patchin about a month ago (you'll see I've posted an issue in the project)
The problem with patchin is that it's more or less just a wrapper around clojure.data/diff. I seem to remember that clojure.data/diff doesn't respect type information (can return vector instead of list, for example). It also seems to throw an exception when diffing on a datastructure containing a vector, and even after a month the issue hasn't been fixed. kl. 00:09:50 UTC+1 tirsdag 18. november 2014 skrev Mariano Guerra følgende: > On Mon, Nov 17, 2014 at 8:52 PM, Robin Heggelund Hansen <[email protected]> > wrote: > > > > > > https://github.com/Skinney/differ > > > > I needed a way to send diffs of data from a cljs web-app to a clj backend, > and I found clojure.data/diff to be a pain to work with, so i created my own > solution. It currently only supports maps (and nested maps...), but support > for lists, vectors and sets is on the roadmap for the next version. This > version is mostly for me to test with my own app, which currently only uses > maps. > > > just to add a possible alternative or maybe you join forces (or get > inspiration :) > > https://github.com/timothypratley/patchin/ -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
