Liking cljdoc? Tell your friends :D

protocol55.allot.core


allotclj

(allot m n)

Divides a map m into a seq of maps each with only a single occurance of any key with name n. Returns nil if no such keys exist in m.

Divides a map m into a seq of maps each with only a single occurance of any
key with name n. Returns nil if no such keys exist in m.
raw docstring

allot-1clj/s

(allot-1 m k1)
(allot-1 m k1 k2)
(allot-1 m k1 k2 & ks)

allot-byclj/s≠

(allot-by m ks-f)
clj

Divides a map m into a seq of maps each with only a single occurance of any key produced by (ks-f m). Returns nil if no such keys exist in m.

Divides a map m into a seq of maps each with only a single occurance of any
key produced by (ks-f m). Returns nil if no such keys exist in m.
cljs

Divides a map m into a map of maps each with only a single occurance of any key produced by (ks-f m). Returns nil if no such keys exist in m.

Divides a map m into a map of maps each with only a single occurance of any
key produced by (ks-f m). Returns nil if no such keys exist in m.
raw docstring

allot-fncljs

(allot-fn k-pred)

Given a k-pred function that expects a single keyword argument returns a function suitable for use by allot-by.

Given a k-pred function that expects a single keyword argument returns a
function suitable for use by allot-by.
raw docstring

allot-namecljs

(allot-name m n)

Divides a map m into a map of maps each with only a single occurance of any key with name n. Returns nil if no such keys exist in m.

Divides a map m into a map of maps each with only a single occurance of any
key with name n. Returns nil if no such keys exist in m.
raw docstring

allot-namespacecljs

(allot-namespace m n)

Divides a map m into a map of maps each with only a single occurance of any key with namespace n. Returns nil if no such keys exist in m.

Divides a map m into a map of maps each with only a single occurance of any
key with namespace n. Returns nil if no such keys exist in m.
raw docstring

dispatch-fncljs

(dispatch-fn k-pred)

Given a k-pred function that expects a single keyword argument returns a function suitable for multi method dispatching.

Given a k-pred function that expects a single keyword argument returns a
function suitable for multi method dispatching.
raw docstring

key-name-predcljs

(key-name-pred n)

Returns a predicate function for use with allot-fn or dispatch-fn that returns true when k has name n.

Returns a predicate function for use with allot-fn or dispatch-fn that
returns true when k has name n.
raw docstring

key-namespace-predcljs

(key-namespace-pred n)

Returns a predicate function for use with allot-fn or dispatch-fn that returns true when k has namespace n.

Returns a predicate function for use with allot-fn or dispatch-fn that
returns true when k has namespace n.
raw docstring

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

× close