Handbook
Glossary
singleton-heap? ( object -- ? )
Vocabulary
persistent
.
heaps
.
private
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
singleton-heap
class.
Definition
USING:
accessors
kernel
;
IN:
persistent.heaps.private
:
singleton-heap?
( object -- ? )
dup
branch?
[
[
left>>
]
[
right>>
]
bi
[
empty-heap?
]
both?
]
[
drop
f
]
if
;