sig
type ('a, 'b) t
val empty : ('a, 'b) BatPMap.t
val is_empty : ('a, 'b) BatPMap.t -> bool
val create : ('a -> 'a -> int) -> ('a, 'b) BatPMap.t
val add : 'a -> 'b -> ('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t
val find : 'a -> ('a, 'b) BatPMap.t -> 'b
val remove : 'a -> ('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t
val mem : 'a -> ('a, 'b) BatPMap.t -> bool
val exists : 'a -> ('a, 'b) BatPMap.t -> bool
val iter : ('a -> 'b -> unit) -> ('a, 'b) BatPMap.t -> unit
val map : ('a -> 'b) -> ('c, 'a) BatPMap.t -> ('c, 'b) BatPMap.t
val mapi : ('a -> 'b -> 'c) -> ('a, 'b) BatPMap.t -> ('a, 'c) BatPMap.t
val fold : ('a -> 'b -> 'b) -> ('c, 'a) BatPMap.t -> 'b -> 'b
val foldi : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) BatPMap.t -> 'c -> 'c
val filter : ('a -> bool) -> ('b, 'a) BatPMap.t -> ('b, 'a) BatPMap.t
val filteri :
('a -> 'b -> bool) -> ('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t
val filter_map :
('a -> 'b -> 'c option) -> ('a, 'b) BatPMap.t -> ('a, 'c) BatPMap.t
val choose : ('a, 'b) BatPMap.t -> 'a * 'b
val min_binding : ('a, 'b) BatPMap.t -> 'a * 'b
val max_binding : ('a, 'b) BatPMap.t -> 'a * 'b
val enum : ('a, 'b) BatPMap.t -> ('a * 'b) BatEnum.t
val of_enum :
?cmp:('a -> 'a -> int) -> ('a * 'b) BatEnum.t -> ('a, 'b) BatPMap.t
val for_all : ('a -> 'b -> bool) -> ('a, 'b) BatPMap.t -> bool
val exists_f : ('a -> 'b -> bool) -> ('a, 'b) BatPMap.t -> bool
val partition :
('a -> 'b -> bool) ->
('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t * ('a, 'b) BatPMap.t
val add_carry :
'a -> 'b -> ('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t * 'b option
val modify : 'a -> ('b -> 'b) -> ('a, 'b) BatPMap.t -> ('a, 'b) BatPMap.t
val extract : 'a -> ('a, 'b) BatPMap.t -> 'b * ('a, 'b) BatPMap.t
val pop : ('a, 'b) BatPMap.t -> ('a * 'b) * ('a, 'b) BatPMap.t
val print :
?first:string ->
?last:string ->
?sep:string ->
('a BatInnerIO.output -> 'b -> unit) ->
('a BatInnerIO.output -> 'c -> unit) ->
'a BatInnerIO.output -> ('b, 'c) BatPMap.t -> unit
end