Parents: | persistent.heaps |
Class | Superclass | Slots |
branch | tuple | value prio left right |
empty-heap | tuple |
Class | Superclass |
singleton-heap | branch |
Word | Stack effect |
sift-down | ( value prio left right -- heap ) |
Word | Stack effect |
<branch> | ( value prio left right -- branch ) |
>branch< | ( branch -- value prio left right ) |
both-with? | ( obj a b quot -- ? ) |
push-in | ( value prio heap -- newheap ) |
push-top | ( value prio heap -- newheap ) |
remove-left | ( heap -- value prio newheap ) |
reroot-left | ( value prio left right -- heap ) |
reroot-right | ( value prio left right -- heap ) |
singleton-sift-down | ( value prio singleton empty -- heap ) |
Word | Stack effect |
branch? | ( object -- ? ) |
empty-heap? | ( object -- ? ) |
singleton-heap? | ( object -- ? ) |