Liking cljdoc? Tell your friends :D

libmisc-clj.func


?>cljmacro

(?> arg do-it? & rest)

Conditional single-arrow operation (-> m (?> add-kv? (assoc :k :v)))

Conditional single-arrow operation (-> m (?> add-kv? (assoc :k :v)))
sourceraw docstring

?>>cljmacro

(?>> do-it? & args)

Conditional double-arrow operation (->> nums (?>> inc-all? (map inc)))

Conditional double-arrow operation (->> nums (?>> inc-all? (map inc)))
sourceraw docstring

as->>cljmacro

(as->> name & forms-and-expr)

Like as->, but can be used in double arrow.

Like as->, but can be used in double arrow.
sourceraw docstring

deep-merge-withclj

(deep-merge-with f & maps)

Recursively merges maps. Applies function f when sees duplicated keys

Recursively merges maps. Applies function f when sees duplicated keys
sourceraw docstring

fn->cljmacro

(fn-> & body)

Equivalent to `(fn [x] (-> x ~@body))

Equivalent to `(fn [x] (-> x ~@body))
sourceraw docstring

fn->>cljmacro

(fn->> & body)

Equivalent to `(fn [x] (->> x ~@body))

Equivalent to `(fn [x] (->> x ~@body))
sourceraw docstring

invert-mapclj

(invert-map m to)
source

sumclj

(sum xs)
(sum f xs)

Return sum of (f x) for each x in xs

Return sum of (f x) for each x in xs
sourceraw docstring

update-valsclj

(update-vals m f & args)
source

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

× close