module BatHeap:Functional heaps over ordered typessig..end
Ascribes to:
BatEnum.Enumerable with type 'a enumerable = 'a t
type +'a t
Pervasives.compare.val size : 'a t -> intval empty : 'a tval insert : 'a t -> 'a -> 'a tval add : 'a -> 'a t -> 'a tadd x h is the same as insert h x. This function is intended
to be used with fold_right.val merge : 'a t -> 'a t -> 'a tval find_min : 'a t -> 'aval del_min : 'a t -> 'a tval of_list : 'a list -> 'a tval to_list : 'a t -> 'a listval elems : 'a t -> 'a listto_list.val of_enum : 'a BatEnum.t -> 'a tval enum : 'a t -> 'a BatEnum.tBatEnum.get.val print : ?first:string ->
?last:string ->
?sep:string ->
('a BatInnerIO.output -> 'b -> unit) ->
'a BatInnerIO.output -> 'b t -> unitval t_printer : 'a BatValue_printer.t -> 'a t BatValue_printer.tBatValue_printer.module type H =sig..end
BatHeap.Make
module Make: