Tags: | collections |
Authors: | Doug Coleman, Ryan Murphy, Slava Pestov |
Class | Superclass | Slots |
bad-heap-delete | tuple | |
max-heap | heap | |
min-heap | heap |
Word | Stack effect |
heap-delete | ( entry heap -- ) |
heap-empty? | ( heap -- ? ) |
heap-peek | ( heap -- value key ) |
heap-pop* | ( heap -- ) |
heap-push* | ( value key heap -- entry ) |
heap-size | ( heap -- n ) |
Word | Stack effect |
<max-heap> | ( -- max-heap ) |
<min-heap> | ( -- min-heap ) |
>entry< | ( entry -- value key ) |
>max-heap | ( assoc -- max-heap ) |
>min-heap | ( assoc -- min-heap ) |
bad-heap-delete | ( -- * ) |
heap-pop | ( heap -- value key ) |
heap-pop-all | ( heap -- alist ) |
heap-push | ( value key heap -- ) |
heap-push-all | ( assoc heap -- ) |
slurp-heap | ( ... heap quot: ( ... value key -- ... ) -- ... ) |
Word | Stack effect |
bad-heap-delete? | ( object -- ? ) |
max-heap? | ( object -- ? ) |
min-heap? | ( object -- ? ) |