heaps.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Tuple classes
ClassSuperclassSlots
entry tuplevalue key heap index
heap tupledata


Generic words
WordStack effect
heap-compare( entry1 entry2 heap -- ? )


Ordinary words
WordStack effect
<entry>( value key heap -- entry )
<heap>( class -- heap )
data-nth( n data -- entry )
data-push( entry data -- n )
data-set-nth( entry n data -- )
entry>index( entry heap -- n )
left( n -- m )
right( n -- m )
sift-down( heap from to -- )
sift-up( heap n -- )
up( n -- m )


Class predicate words
WordStack effect
entry?( object -- ? )
heap?( object -- ? )


Files