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

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


Vocabulary
persistent.heaps

Inputs and outputs
heapa persistent heap
valuean object in the heap
priothe minimum priority


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

Definition

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


Methods