Computes a string displaying the contents of the heap aHeap. This function is curried, takes a printing function for the values as first parameter, and then returns a function taking the heap to display.
aHeap
a function that displays a single element
a function displaying a heap
Computes a string displaying the contents of the heap
aHeap
. This function is curried, takes a printing function for the values as first parameter, and then returns a function taking the heap to display.