Handbook
Glossary
item-check ( node -- n )
Vocabulary
benchmark
.
binary-trees
Inputs
node
an
object
Outputs
n
an
object
Definition
IN:
benchmark.binary-trees
GENERIC:
item-check
( node -- n )
Methods
USING:
benchmark.binary-trees
kernel
;
M:
f
item-check
drop
0
;
USING:
accessors
benchmark.binary-trees
kernel
math
;
M:
tree-node
item-check
[
item>>
]
[
left>>
]
[
right>>
]
tri
[
item-check
]
bi@
-
+
;