Vocabulary
heaps

Inputs
valuean object
keya comparable object
heapa heap


Outputs
None

Word description
Push a pair onto a heap. The key must be comparable with all other keys by the <=> generic word.

Side effects
Modifies heap

Definition