[Haskell-cafe] complexity of functions in PriorityQ.hs