(ns same.klipse (:require-macros [same :refer [with-comparator]]) (:require [same :refer [ish? zeroish? not-zeroish? set-comparator!]] [same.compare :refer [compare-ulp]] [same.ish :refer [default-comparator]]))

Click here to make these examples interactive with ClojureScript.

same.diff

Generating diffs of different types.

Diff

protocol

Protocol for generating diffs of any type.

members

diff

(diff this that)

Returns the diff of two values, in the same format as clojure.data/diff, i.e. a vector of 3 elements: [parts-only-in-this parts-only-in-that parts-in-both]