heaps vocabulary
Factor handbook > Vocabulary index


Documentation
Heaps

Meta-data
Tags:collections
Authors:Doug Coleman, Ryan Murphy, Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
bad-heap-delete tuple
max-heap heap
min-heap heap


Generic words
WordStack effect
heap-delete( entry heap -- )
heap-empty?( heap -- ? )
heap-peek( heap -- value key )
heap-pop( heap -- value key )
heap-pop*( heap -- )
heap-push*( value key heap -- entry )
heap-size( heap -- n )


Ordinary words
WordStack 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-all( heap -- alist )
heap-push( value key heap -- )
heap-push-all( assoc heap -- )
slurp-heap( ... heap quot: ( ... value key -- ... ) -- ... )


Class predicate words
WordStack effect
bad-heap-delete?( object -- ? )
max-heap?( object -- ? )
min-heap?( object -- ? )


Files


Children
VocabularySummary
heaps.privateheaps.private vocabulary