Next: bst bnodes inspect, Previous: bst bnodes access, Up: bst bnodes [Index]
The following syntactic bindings are exported by the library
(vicare containers binary-search-trees)
. The bindings whose
name is prefixed with $
are unsafe operations: they do
not validate their arguments before accessing them.
Return #t
if bnode2 is the left child of bnode1;
otherwise return #f
.
Return #t
if bnode2 is the right child of bnode1;
otherwise return #f
.
Return #t
if bnode2 is the left or right child of
bnode1; otherwise return #f
.
Return #t
if bnode is the root of a tree (it has no parent);
otherwise return #f
.
Return #t
if bnode is a leaf in the a tree (it has no
children); otherwise return #f
.