Handbook
Glossary
min-heap
Factor handbook
»
The language
»
Collections
»
Heaps
Next:
min-heap? ( object -- ? )
Vocabulary
heaps
Definition
USING:
heaps.private
;
IN:
heaps
TUPLE:
min-heap
<
heap
;
Methods
USING:
accessors
heaps
heaps.private
kernel
kernel.private
math.order
;
M:
min-heap
heap-compare
drop
{
entry
entry
}
declare
[
key>>
]
bi@
after?
;
inline