Liking cljdoc? Tell your friends :D

deep.merge


*merge-mixed-vector-map-sets*clj

source

*vector-merge-method*clj

source

deep-mergeclj

(deep-merge)
(deep-merge & obj-args)

Based on the various environment variables in this namespace, merge two maps or vectors. If a merge of the objects cannot happen, the last object is returned.

Based on the various environment variables in this namespace, merge two maps or vectors.
If a merge of the objects cannot happen, the last object is returned.
sourceraw docstring

vector-blind-mergeclj

(vector-blind-merge & vectors)

Blindly puts all vectors passed in into one vector. If not all items are vectors, the last item is returned

Blindly puts all vectors passed in into one vector.
If not all items are vectors, the last item is returned
sourceraw docstring

vector-blind-merge-with-dedupeclj

(vector-blind-merge-with-dedupe & vectors)

Does the same thing as blind merge, but applies distinct to the resulting vector. If not all items are vectors, the last item is returned.

Does the same thing as blind merge, but applies distinct to the resulting vector.
If not all items are vectors, the last item is returned.
sourceraw docstring

vector-index-mergeclj

(vector-index-merge & vectors)

Looks at each index across all vectors and runs deep-merge on that. If not all items are vectors, the last item is returned.

Looks at each index across all vectors and runs deep-merge on that.
If not all items are vectors, the last item is returned.
sourceraw docstring

with-mixed-vector-map-mergingcljmacro

(with-mixed-vector-map-merging & body)

deep-merges within this macro will allow mixed sets of vectors/maps to be merged. This happens by taking maps and putting them into the first index of new vectors. After the conversion happens, deep merge is called again.

deep-merges within this macro will allow mixed sets of vectors/maps to be merged.
This happens by taking maps and putting them into the first index of new vectors.
After the conversion happens, deep merge is called again.
sourceraw docstring

with-vector-merge-methodcljmacro

(with-vector-merge-method method & body)

Adds a vector merge strategy to deep-merge.

Adds a vector merge strategy to deep-merge.
sourceraw docstring

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

× close