Liking cljdoc? Tell your friends :D
ClojureScript only.

clojure.data

Non-core data functions.

Non-core data functions.
raw docstring

diffcljs

(diff a b)

Recursively compares a and b, returning a tuple of [things-only-in-a things-only-in-b things-in-both]. Comparison rules:

  • For equal a and b, return [nil nil a].
  • Maps are subdiffed where keys match and values differ.
  • Sets are never subdiffed.
  • All sequential things are treated as associative collections by their indexes, with results returned as vectors.
  • Everything else (including strings!) is treated as an atom and compared for equality.
Recursively compares a and b, returning a tuple of
[things-only-in-a things-only-in-b things-in-both].
Comparison rules:

* For equal a and b, return [nil nil a].
* Maps are subdiffed where keys match and values differ.
* Sets are never subdiffed.
* All sequential things are treated as associative collections
  by their indexes, with results returned as vectors.
* Everything else (including strings!) is treated as
  an atom and compared for equality.
sourceraw docstring

Diffcljsprotocol

Implementation detail. Subject to change.

Implementation detail. Subject to change.

diff-similarcljs

(diff-similar a b)

Implementation detail. Subject to change.

Implementation detail. Subject to change.
sourceraw docstring

EqualityPartitioncljsprotocol

Implementation detail. Subject to change.

Implementation detail. Subject to change.

equality-partitioncljs

(equality-partition x)

Implementation detail. Subject to change.

Implementation detail. Subject to change.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close