Liking cljdoc? Tell your friends :D
All platforms.

differ.diff

Provides functions to compare two clojure datastructures and return the difference between them. Alterations will return the elements that differ, the removals will return elements that only exist in one collection.

Provides functions to compare two clojure datastructures and return the
difference between them. Alterations will return the elements that differ,
the removals will return elements that only exist in one collection.
raw docstring

alterationsclj/s

(alterations state new-state)

Find elements that are different in new-state, when compared to state. The datastructure returned will be of the same type as the first argument passed. Works recursively on nested datastructures.

Find elements that are different in new-state, when compared to state.
The datastructure returned will be of the same type as the first argument
passed. Works recursively on nested datastructures.
sourceraw docstring

removalsclj/s

(removals state new-state)

Find elements that are in state, but not in new-state. The datastructure returned will be of the same type as the first argument passed. Works recursively on nested datastructures.

Find elements that are in state, but not in new-state.
The datastructure returned will be of the same type as the first argument
passed. Works recursively on nested datastructures.
sourceraw docstring

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

× close