Comment Comment by cupofcoffee Seems the implementation is Haskell, would've been much cleaner in Ocaml. Appearently it's a grad coruse in functional algorithms but can't even see the time-complexity analysis of heapify. parent cupofcoffee 5 years ago