Handbook
Glossary
higher-key ( key tree -- key/f )
Binary search trees
Prev:
lower-entry ( key tree -- pair/f )
Next:
higher-entry ( key tree -- pair/f )
Vocabulary
trees
Inputs
key
a key
tree
a
tree
Outputs
key/f
a key or
f
Word description
Returns the least key strictly greater than the given key, or
f
if there is no such key.
See also
lower-key
,
lower-entry
,
higher-entry
,
floor-key
,
floor-entry
,
ceiling-key
,
ceiling-entry
Definition
USING:
accessors
kernel
trees.private
;
IN:
trees
:
higher-key
( key tree -- key/f )
higher-node
[
key>>
]
?call
;