Handbook
Glossary
>tree ( assoc -- tree )
Binary search trees
Prev:
<tree> ( -- tree )
Next:
TREE{
Vocabulary
trees
Inputs
assoc
an
assoc
Outputs
tree
a
tree
Word description
Converts any
assoc
into an unbalanced binary tree. If the input assoc is any kind of
tree
, the elements are added in level order (breadth-first search) to copy it's shape.
Definition
USING:
assocs
;
IN:
trees
:
>tree
( assoc -- tree )
T{
tree
}
assoc-clone-like
;