Handbook
Glossary
pheap>values ( heap -- seq )
Persistent heaps
Prev:
pheap>alist ( heap -- alist )
Vocabulary
persistent
.
heaps
Inputs
heap
a persistent heap
Outputs
seq
an
array
Word description
Creates an an array of all of the values in the heap, in sorted order by priority. This does not modify the heap.
Definition
USING:
assocs
;
IN:
persistent.heaps
:
pheap>values
( heap -- seq )
pheap>alist
keys
;