Liking cljdoc? Tell your friends :D

predis.util


counting-disjclj

(counting-disj s ks)

Similar to disj, but counts the number of elements removed Returns tuple of [new-set num-items-removed]

Similar to disj, but counts the number of elements removed
Returns tuple of [new-set num-items-removed]
sourceraw docstring

counting-dissocclj

(counting-dissoc m ks)

Similar to dissoc, but counts the number of elements removed Returns tuple of [new-map num-items-removed]

Similar to dissoc, but counts the number of elements removed
Returns tuple of [new-map num-items-removed]
sourceraw docstring

counting-unionclj

(counting-union s vs)

Similar to clojure.set/union, but counts the number of elements added Returns tuple of [new-set num-items-added]

Similar to clojure.set/union, but counts the number of elements added
Returns tuple of [new-set num-items-added]
sourceraw docstring

reduce-rightclj

(reduce-right f init coll)
Based on https://gist.github.com/kohyama/2893987
sourceraw docstring

remove-allclj

(remove-all xs v)

Remove all occurrencess of v from xs, returning a tuple of [new-list num-items-removed]

Remove all occurrencess of v from xs, returning
a tuple of [new-list num-items-removed]
sourceraw docstring

remove-first-nclj

(remove-first-n xs n v)

Remove the first n occurrences of v from xs, returning a tuple of [new-list num-items-removed]

Remove the first n occurrences of v from xs, returning
a tuple of [new-list num-items-removed]
sourceraw docstring

remove-last-nclj

(remove-last-n xs n v)

Remove the last n occurrences of v from xs, returning a tuple of [new-list num-items-removed]

Remove the last n occurrences of v from xs, returning
a tuple of [new-list num-items-removed]
sourceraw docstring

stringify-tupleclj

(stringify-tuple [a b])
source

to-vecclj

(to-vec coll)
source

values-atclj

(values-at m ks)

Similar to (comp vals select-keys), but includes nil for missing keys Ex: (values-at {:foo 1} [:foo :bar]) [1 nil]

Similar to (comp vals select-keys), but includes nil for missing keys
Ex:
  (values-at {:foo 1} [:foo :bar])
  [1 nil]
sourceraw docstring

vec-wrapclj

(vec-wrap v-or-vs)
source

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

× close