nb_heap_peek/4¶
nb_heap_peek(+ Heap, - Key, - Value)* )
Key- Value is the element with smallest Key in the heap Heap. Fail if the heap is empty.
nb_heap_peek(+ Heap, - Key, - Value)* )
Key- Value is the element with smallest Key in the heap Heap. Fail if the heap is empty.