heap-pop ( heap -- value key )
Factor handbook » The language » Collections » Heaps

Prev:heap-pop* ( heap -- )
Next:heap-delete ( entry heap -- )


Vocabulary
heaps

Inputs
heapa heap


Outputs
valuean object
keyan object


Word description
Output and remove the first element in the heap.

Side effects
Modifies heap

Definition