pheap-peek ( heap -- value prio )
Persistent heaps

Prev:<singleton-heap> ( value prio -- heap )
Next:pheap-push ( value prio heap -- newheap )


Vocabulary
persistent.heaps

Inputs
heapa persistent heap


Outputs
valuean object in the heap
priothe minimum priority


Word description
Gets the object in the heap with minimum priority.

Definition

GENERIC: pheap-peek ( heap -- value prio )


Methods