(combine curr newval)
Merge two values such that two maps a merged, two lists, two vectors and two sets are concatenated.
Maps will be merged with maps. The map values will be merged recursively with this function.
Lists, Vectors and Sets will be concatenated with values that are
coll?
and will preserve their type.
For other combination of types the new value will be returned.
If the newval has the metadata attribute :replace
then it will
replace the value regardless of the type.
Merge two values such that two maps a merged, two lists, two vectors and two sets are concatenated. Maps will be merged with maps. The map values will be merged recursively with this function. Lists, Vectors and Sets will be concatenated with values that are `coll?` and will preserve their type. For other combination of types the new value will be returned. If the newval has the metadata attribute `:replace` then it will replace the value regardless of the type.
(is-protocol-exception? exception)
Detects if given exception is a protocol exception.
Detects if given exception is a protocol exception.
(protocol-exception msg)
Creates new protocol exception
Creates new protocol exception
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close