chickadee » binary-heap » heap-for-each

heap-for-eachprocedure

applies the given procedure PROC to each (key . value) association of the heap, from the one with the smallest key all the way to the one with the max key, in an ascending order of keys.