chickadee » slib-wt-tree » alist->wt-tree

alist->wt-tree tree-type alistprocedure

Returns a new weight-balanced tree with type tree-type and containing all the associations of alist.

Example:

(alist->wt-tree number-wt-type '((1 . 2) (2 . 4)
(3 . 6)))
; -> wt-tree