(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.
(allot-1 m k1)
(allot-1 m k1 k2)
(allot-1 m k1 k2 & ks)
(allot-by m ks-f)
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.
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.
(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close