Creates and applies patches to datastructures
EPL-1.0 License
Create, transmit, apply data changes between your browser and server.
(= (patch a (diff a b)) b)
as an invariant.Add patchin as a dependency to your project:
(ns my.namespace
(:require [timothypratley.patchin :as patchin]))
;; create patches
(patchin/diff a b)
;; apply patches
(patchin/patch a p)
p
is intended for transmission over a network.
lein cljx once
Copyright © 2014 Timothy Pratley
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.