Liking cljdoc? Tell your friends :D

datascript.btset


-btset-from-seqclj

(-btset-from-seq seq cmp)
source

-btset-from-sorted-arrclj

(-btset-from-sorted-arr arr cmp)
source

-distanceclj

(-distance node left right level)
source

-next-pathclj

(-next-path node path level)
source

-prev-pathclj

(-prev-path node path level)
source

-rpathclj

(-rpath node level)

Returns rightmost path possible starting from node and going deeper

Returns rightmost path possible starting from node and going deeper
sourceraw docstring

-rseekclj

(-rseek set key)

Returns path to the first element that is > key. If all elements in a set are <= key, returns (-rpath set) + 1. It’s a virtual path that is bigger than any path in a tree

Returns path to the first element that is > key.
If all elements in a set are <= key, returns `(-rpath set) + 1`.
It’s a virtual path that is bigger than any path in a tree
sourceraw docstring

-seekclj

(-seek set key)

Returns path to first element >= key, or -1 if all elements in a set < key

Returns path to first element >= key,
or -1 if all elements in a set < key
sourceraw docstring

-sliceclj

(-slice set key-from key-to)
source

alastclj

(alast arr)
source

alter-btsetclj

(alter-btset set root shift cnt)
source

arr-map-inplaceclj

(arr-map-inplace f arr)
source

avg-lenclj

source

binary-search-lclj

(binary-search-l cmp arr r k)
source

binary-search-rclj

(binary-search-r cmp arr r k)
source

btsetclj

(btset)
(btset & keys)
source

btset-byclj

(btset-by cmp)
(btset-by cmp & keys)
source

btset-conjclj

(btset-conj set key cmp)
source

btset-disjclj

(btset-disj set key cmp)
source

btset-iterclj

(btset-iter set)

Iterator that represents whole set

Iterator that represents whole set
sourceraw docstring

check-n-spliceclj

(check-n-splice cmp arr from to new-arr)
source

cutclj

(cut arr cut-from)
(cut arr cut-from cut-to)
source

cut-n-spliceclj

(cut-n-splice arr cut-from cut-to splice-from splice-to xs)
source

distanceclj

(distance set path-l path-r)
source

empty-pathclj

source

eq-arrclj

(eq-arr cmp a1 a1-from a1-to a2 a2-from a2-to)
source

est-countclj

(est-count iter)
source

halfcljmacro

(half x)
source

INodecljprotocol

node-conjclj

(node-conj _ cmp key)

node-disjclj

(node-disj _ cmp key root? left right)

node-lenclj

(node-len _)

node-lim-keyclj

(node-lim-key _)

node-lookupclj

(node-lookup _ cmp key)

node-mergeclj

(node-merge _ next)

node-merge-n-splitclj

(node-merge-n-split _ next)
source

insertclj

(insert arr idx xs)
source

iterclj

(iter set left right)
source

iter-chunkclj

(iter-chunk iter)
source

iter-chunked-nextclj

(iter-chunked-next iter)
source

iter-firstclj

(iter-first iter)
source

iter-nextclj

(iter-next iter)
source

iter-reduceclj

(iter-reduce iter f)
(iter-reduce iter f start)
source

iter-rseqclj

(iter-rseq iter)
source

keys-forclj

(keys-for set path)
source

level-shiftclj

source

lookup-exactclj

(lookup-exact cmp arr key)
source

lookup-rangeclj

(lookup-range cmp arr key)
source

max-lenclj

source

merge-n-splitclj

(merge-n-split a1 a2)
source

min-lenclj

source

next-pathclj

(next-path set path)

Returns path representing next item after path in natural traversal order, or -1 if end of tree has been reached

Returns path representing next item after `path` in natural traversal order,
or -1 if end of tree has been reached
sourceraw docstring

not==cljmacro

(not== x y)
source

path-getclj

(path-get path level)
source

path-maskclj

source

path-setclj

(path-set path level idx)
source

prev-pathclj

(prev-path set path)

Returns path representing previous item before path in natural traversal order, or -1 if path was already beginning of a tree

Returns path representing previous item before `path` in natural traversal order,
or -1 if `path` was already beginning of a tree
sourceraw docstring

return-arrayclj

(return-array a1)
(return-array a1 a2)
(return-array a1 a2 a3)

Drop non-nil references and return array of arguments

Drop non-nil references and return array of arguments
sourceraw docstring

riterclj

(riter set left right)
source

riter-firstclj

(riter-first riter)
source

riter-nextclj

(riter-next ri)
source

riter-rseqclj

(riter-rseq riter)
source

rotateclj

(rotate node root? left right)
source

sliceclj

(slice set key)
(slice set key-from key-to)

When called with single key, returns iterator over set that contains all elements equal to the key. When called with two keys (range), returns iterator for all X where key-from <= X <= key-to

When called with single key, returns iterator over set that contains all elements equal to the key.
When called with two keys (range), returns iterator for all X where key-from <= X <= key-to
sourceraw docstring

spliceclj

(splice arr splice-from splice-to xs)
source

uninitialized-hashclj

source

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

× close