pheap>alist ( heap -- alist )
Persistent heaps

Prev:assoc>pheap ( assoc -- heap )
Next:pheap>values ( heap -- seq )


Vocabulary
persistent.heaps

Inputs
heapa persistent heap


Outputs
alistan association list


Word description
Creates an association list whose keys are the entries in the heap and whose values are the associated priorities. It is in sorted order by priority. This does not modify the heap.

Definition