(build-infix-index)
(build-infix-index on-kv-fn)
(build-key->id-index)
(build-key->id-index on-kv-fn)
on-kv-fn
is a 2 arg fn which receives the key and value
`on-kv-fn` is a 2 arg fn which receives the key and value
(build-prefix-index)
(build-prefix-index on-kv-fn)
(group-by-txfm f g coll)
Returns a map of the elements of coll keyed by the result of f on each element. The value at each key will be a vector of the corresponding elements after applying g, in the order they appeared in coll.
Returns a map of the elements of coll keyed by the result of f on each element. The value at each key will be a vector of the corresponding elements after applying g, in the order they appeared in coll.
(ids-by-infix-phrase ids-by-infix-fn s)
Returns the intersection of ids matching the infix s
.
ids-by-infix-fn
is a 1 arity fn that receives a string
and returns an integer set.
Returns the intersection of ids matching the infix `s`. `ids-by-infix-fn` is a 1 arity fn that receives a string and returns an integer set.
(ids-by-prefix-phrase ids-by-prefix-fn s)
Returns the intersection of ids matching the prefix s
.
ids-by-prefix-fn
is a 1 arity fn that receives a string
and returns an integer set.
Returns the intersection of ids matching the prefix `s`. `ids-by-prefix-fn` is a 1 arity fn that receives a string and returns an integer set.
(project-prefix-phrase ids-by-prefix-fn phrase)
(word->infixes word)
(word->prefixes word)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close