Liking cljdoc? Tell your friends :D

lambdacd.stepresults.merge-resolvers

Contains functions that can act as resolvers in merge-two-step-results by returning a merged result of two values if they match or nil if they don't.

Contains functions that can act as resolvers in merge-two-step-results
by returning a merged result of two values if they match or nil if they don't.

combine-to-list-resolver

(combine-to-list-resolver _ v1 v2)

Resolver that concatenates two list values or a value onto an existing list.

Resolver that concatenates two list values or a value onto an existing list.
sourceraw docstring

join-output-resolver

(join-output-resolver k v1 v2)

Resolver that joins two strings in the :out key with newlines.

Resolver that joins two strings in the :out key with newlines.
sourceraw docstring

merge-nested-maps-resolver

(merge-nested-maps-resolver _ v1 v2)

Resolver that merges two given maps with the default clojure merge.

Resolver that merges two given maps with the default clojure `merge`.
sourceraw docstring

second-wins-resolver

(second-wins-resolver _ _ v2)

Resolver that always returns the second (usually newer) value.

Resolver that always returns the second (usually newer) value.
sourceraw docstring

status-resolver

(status-resolver k v1 v2)

Resolver that resolves only the :status key with the last-or-not-success function.

Resolver that resolves only the :status key with the `last-or-not-success` function.
sourceraw docstring

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

× close