Module CCHeap
Leftist Heaps
Implementation following Okasaki's book.
type 'a sequence
= ('a -> unit) -> unit
type 'a gen
= unit -> 'a option
type 'a klist
= unit -> [ `Nil | `Cons of 'a * 'a klist ]
type 'a ktree
= unit -> [ `Nil | `Node of 'a * 'a ktree list ]
type 'a printer
= Stdlib.Format.formatter -> 'a -> unit
module type PARTIAL_ORD = sig ... end
module type TOTAL_ORD = sig ... end
module type S = sig ... end