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