Liking cljdoc? Tell your friends :D

cinch.core


ancestors+clj/s

(ancestors+ h x)

assoc-nilclj/s

(assoc-nil e attr v)

assoc iff existing value is nil, including when (contains? e nil) returns true.

assoc iff existing value is `nil`, including when (contains? e nil)
returns true.
raw docstring

conjsclj/s

(conjs set x)

Like conj but always set.

Like conj but always set.
raw docstring

conjs-anyclj/s

(conjs-any v1 v2)

Given two values, performs to-many conj.

Given two values, performs to-many conj.
raw docstring

conjvclj/s

(conjv v x)

Like conj but always vec.

Like conj but always vec.
raw docstring

derive-pairsclj/s

(derive-pairs xs)
(derive-pairs h xs)

Given a seq of child - parent pairs, [c1 p1 c2 p2 ...], derives them into the given hierarchy, or into a new one if not supplied. The child and parent can be cardinality many, and will be distributed combinatorially.

Given a seq of child - parent pairs, [c1 p1 c2 p2 ...], derives them
into the given hierarchy, or into a new one if not supplied. The
child and parent can be cardinality many, and will be distributed
combinatorially.
raw docstring

descendants+clj/s

(descendants+ h x)

get-process-nameclj

(get-process-name)

Returns java process name. On most systems it will be of the form pid@user.

Returns java process name. On most systems it will be of the form
pid@user.
raw docstring

get-process-pidclj

(get-process-pid)

Returns java process pid.

Returns java process pid.
raw docstring

get-source-dirsclj

(get-source-dirs)

Get project source paths from classpath.

Get project source paths from classpath.
raw docstring

index-comparatorclj/s

(index-comparator v)

Given a vector, returns a comparator by element indices.

Given a vector, returns a comparator by element indices.
raw docstring

map-allclj/s

(map-all f pad & colls)

Like map but exhausts all colls.

Like map but exhausts all colls.
raw docstring

mapcat-lazyclj/s

(mapcat-lazy f coll)

Fully lazy version of mapcat.

Fully lazy version of mapcat.
raw docstring

merge-deepclj/s

(merge-deep & args)

Like merge, but merges recusively. Maps are merged via merge semantics, and vectors are merged positionally.

Like merge, but merges recusively. Maps are merged via merge
semantics, and vectors are merged positionally.
raw docstring

merge-hierarchiesclj/s

(merge-hierarchies & h)

Merges hierarchies, extrapolating transitive relationships, and checking for cyclical derivations.

Merges hierarchies, extrapolating transitive relationships,
and checking for cyclical derivations.
raw docstring

qonjclj/s

(qonj q n x)

Enqueues x, popping if queue size exceeds n.

Enqueues x, popping if queue size exceeds n.
raw docstring

queueclj

(queue)
(queue & xs)

remove-nthclj/s

(remove-nth coll n)

If you really must, removes the nth element of a vector. But consider using a hashed map instead.

If you really must, removes the nth element of a vector. But consider
using a hashed map instead.
raw docstring

seqifyclj/s

(seqify x)

Coerces x into vector if isn't already sequential.

Coerces x into vector if isn't already sequential.
raw docstring

setifyclj/s

(setify x)

Coerces x into set if isn't already.

Coerces x into set if isn't already.
raw docstring

split-keysclj/s

(split-keys m & ks)

Given a map, and a set of key vectors, returns a seq of maps corresponding to a select-keys with each key vector. A map containing the remaining elements that were not selected is returned as the final element of the sequence.

Given a map, and a set of key vectors, returns a seq of maps
corresponding to a select-keys with each key vector. A map
containing the remaining elements that were not selected is returned
as the final element of the sequence.
raw docstring

update-containsclj/s

(update-contains e attr f & args)

Only update if value exists at the given attr.

Only update if value exists at the given attr.
raw docstring

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

× close