nub package:heaps

O(n log n). Remove duplicate entries from the heap.
>>> nub (fromList [1,1,2,6,6])
fromList [1,2,6]