sig
  module type S =
    sig
      type key
      type +'a t
      val empty : 'BatMap.S.t
      val is_empty : 'BatMap.S.t -> bool
      val add : BatMap.S.key -> '-> 'BatMap.S.t -> 'BatMap.S.t
      val find : BatMap.S.key -> 'BatMap.S.t -> 'a
      val remove : BatMap.S.key -> 'BatMap.S.t -> 'BatMap.S.t
      val modify :
        BatMap.S.key -> ('-> 'a) -> 'BatMap.S.t -> 'BatMap.S.t
      val mem : BatMap.S.key -> 'BatMap.S.t -> bool
      val iter : (BatMap.S.key -> '-> unit) -> 'BatMap.S.t -> unit
      val map : ('-> 'b) -> 'BatMap.S.t -> 'BatMap.S.t
      val mapi : (BatMap.S.key -> '-> 'b) -> 'BatMap.S.t -> 'BatMap.S.t
      val fold :
        (BatMap.S.key -> '-> '-> 'b) -> 'BatMap.S.t -> '-> 'b
      val filter : ('-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
      val filteri :
        (BatMap.S.key -> '-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
      val filter_map :
        (BatMap.S.key -> '-> 'b option) -> 'BatMap.S.t -> 'BatMap.S.t
      val compare :
        ('-> '-> int) -> 'BatMap.S.t -> 'BatMap.S.t -> int
      val equal :
        ('-> '-> bool) -> 'BatMap.S.t -> 'BatMap.S.t -> bool
      val keys : 'BatMap.S.t -> BatMap.S.key BatEnum.t
      val values : 'BatMap.S.t -> 'BatEnum.t
      val min_binding : 'BatMap.S.t -> BatMap.S.key * 'a
      val max_binding : 'BatMap.S.t -> BatMap.S.key * 'a
      val choose : 'BatMap.S.t -> BatMap.S.key * 'a
      val enum : 'BatMap.S.t -> (BatMap.S.key * 'a) BatEnum.t
      val backwards : 'BatMap.S.t -> (BatMap.S.key * 'a) BatEnum.t
      val of_enum : (BatMap.S.key * 'a) BatEnum.t -> 'BatMap.S.t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> BatMap.S.key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'BatMap.S.t -> unit
      module Exceptionless :
        sig val find : BatMap.S.key -> 'BatMap.S.t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'BatMap.S.t -> BatMap.S.key -> 'a
          val ( <-- ) : 'BatMap.S.t -> BatMap.S.key * '-> 'BatMap.S.t
        end
      module Labels :
        sig
          val add :
            key:BatMap.S.key -> data:'-> 'BatMap.S.t -> 'BatMap.S.t
          val iter :
            f:(key:BatMap.S.key -> data:'-> unit) -> 'BatMap.S.t -> unit
          val map : f:('-> 'b) -> 'BatMap.S.t -> 'BatMap.S.t
          val mapi :
            f:(key:BatMap.S.key -> data:'-> 'b) ->
            'BatMap.S.t -> 'BatMap.S.t
          val filter : f:('-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
          val filteri :
            f:(BatMap.S.key -> '-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
          val fold :
            f:(key:BatMap.S.key -> data:'-> '-> 'b) ->
            'BatMap.S.t -> init:'-> 'b
          val compare :
            cmp:('-> '-> int) -> 'BatMap.S.t -> 'BatMap.S.t -> int
          val equal :
            cmp:('-> '-> bool) -> 'BatMap.S.t -> 'BatMap.S.t -> bool
        end
    end
  module StringMap :
    sig
      type key = String.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module IStringMap :
    sig
      type key = String.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module NumStringMap :
    sig
      type key = String.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module RopeMap :
    sig
      type key = BatRope.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module IRopeMap :
    sig
      type key = BatRope.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module IntMap :
    sig
      type key = BatInt.t
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val add : key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val remove : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val mem : key -> 'a t -> bool
      val iter : (key -> '-> unit) -> 'a t -> unit
      val map : ('-> 'b) -> 'a t -> 'b t
      val mapi : (key -> '-> 'b) -> 'a t -> 'b t
      val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
      val filter : ('-> bool) -> 'a t -> 'a t
      val filteri : (key -> '-> bool) -> 'a t -> 'a t
      val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
      val compare : ('-> '-> int) -> 'a t -> 'a t -> int
      val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
      val keys : 'a t -> key BatEnum.t
      val values : 'a t -> 'BatEnum.t
      val min_binding : 'a t -> key * 'a
      val max_binding : 'a t -> key * 'a
      val choose : 'a t -> key * 'a
      val enum : 'a t -> (key * 'a) BatEnum.t
      val backwards : 'a t -> (key * 'a) BatEnum.t
      val of_enum : (key * 'a) BatEnum.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'b t -> unit
      module Exceptionless : sig val find : key -> 'a t -> 'a option end
      module Infix :
        sig
          val ( --> ) : 'a t -> key -> 'a
          val ( <-- ) : 'a t -> key * '-> 'a t
        end
      module Labels :
        sig
          val add : key:key -> data:'-> 'a t -> 'a t
          val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
          val map : f:('-> 'b) -> 'a t -> 'b t
          val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
          val filter : f:('-> bool) -> 'a t -> 'a t
          val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
          val fold :
            f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
          val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
          val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
        end
    end
  module Make :
    functor (Ord : BatInterfaces.OrderedType->
      sig
        type key = Ord.t
        type +'a t
        val empty : 'a t
        val is_empty : 'a t -> bool
        val add : key -> '-> 'a t -> 'a t
        val find : key -> 'a t -> 'a
        val remove : key -> 'a t -> 'a t
        val modify : key -> ('-> 'a) -> 'a t -> 'a t
        val mem : key -> 'a t -> bool
        val iter : (key -> '-> unit) -> 'a t -> unit
        val map : ('-> 'b) -> 'a t -> 'b t
        val mapi : (key -> '-> 'b) -> 'a t -> 'b t
        val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
        val filter : ('-> bool) -> 'a t -> 'a t
        val filteri : (key -> '-> bool) -> 'a t -> 'a t
        val filter_map : (key -> '-> 'b option) -> 'a t -> 'b t
        val compare : ('-> '-> int) -> 'a t -> 'a t -> int
        val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
        val keys : 'a t -> key BatEnum.t
        val values : 'a t -> 'BatEnum.t
        val min_binding : 'a t -> key * 'a
        val max_binding : 'a t -> key * 'a
        val choose : 'a t -> key * 'a
        val enum : 'a t -> (key * 'a) BatEnum.t
        val backwards : 'a t -> (key * 'a) BatEnum.t
        val of_enum : (key * 'a) BatEnum.t -> 'a t
        val print :
          ?first:string ->
          ?last:string ->
          ?sep:string ->
          ('BatInnerIO.output -> key -> unit) ->
          ('BatInnerIO.output -> '-> unit) ->
          'BatInnerIO.output -> 'b t -> unit
        module Exceptionless : sig val find : key -> 'a t -> 'a option end
        module Infix :
          sig
            val ( --> ) : 'a t -> key -> 'a
            val ( <-- ) : 'a t -> key * '-> 'a t
          end
        module Labels :
          sig
            val add : key:key -> data:'-> 'a t -> 'a t
            val iter : f:(key:key -> data:'-> unit) -> 'a t -> unit
            val map : f:('-> 'b) -> 'a t -> 'b t
            val mapi : f:(key:key -> data:'-> 'b) -> 'a t -> 'b t
            val filter : f:('-> bool) -> 'a t -> 'a t
            val filteri : f:(key -> '-> bool) -> 'a t -> 'a t
            val fold :
              f:(key:key -> data:'-> '-> 'b) -> 'a t -> init:'-> 'b
            val compare : cmp:('-> '-> int) -> 'a t -> 'a t -> int
            val equal : cmp:('-> '-> bool) -> 'a t -> 'a t -> bool
          end
      end
  type ('a, 'b) t
  val empty : ('a, 'b) BatMap.t
  val is_empty : ('a, 'b) BatMap.t -> bool
  val create : ('-> '-> int) -> ('a, 'b) BatMap.t
  val singleton : ?cmp:('-> '-> int) -> '-> '-> ('a, 'b) BatMap.t
  val add : '-> '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val find : '-> ('a, 'b) BatMap.t -> 'b
  val remove : '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val mem : '-> ('a, 'b) BatMap.t -> bool
  val exists : '-> ('a, 'b) BatMap.t -> bool
  val iter : ('-> '-> unit) -> ('a, 'b) BatMap.t -> unit
  val map : ('-> 'b) -> ('c, 'a) BatMap.t -> ('c, 'b) BatMap.t
  val mapi : ('-> '-> 'c) -> ('a, 'b) BatMap.t -> ('a, 'c) BatMap.t
  val fold : ('-> '-> 'b) -> ('c, 'a) BatMap.t -> '-> 'b
  val foldi : ('-> '-> '-> 'c) -> ('a, 'b) BatMap.t -> '-> 'c
  val filter : ('-> bool) -> ('b, 'a) BatMap.t -> ('b, 'a) BatMap.t
  val filteri : ('-> '-> bool) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val filter_map :
    ('-> '-> 'c option) -> ('a, 'b) BatMap.t -> ('a, 'c) BatMap.t
  val choose : ('a, 'b) BatMap.t -> 'a * 'b
  val min_binding : ('a, 'b) BatMap.t -> 'a * 'b
  val max_binding : ('a, 'b) BatMap.t -> 'a * 'b
  val enum : ('a, 'b) BatMap.t -> ('a * 'b) BatEnum.t
  val of_enum :
    ?cmp:('-> '-> int) -> ('a * 'b) BatEnum.t -> ('a, 'b) BatMap.t
  val for_all : ('-> '-> bool) -> ('a, 'b) BatMap.t -> bool
  val exists_f : ('-> '-> bool) -> ('a, 'b) BatMap.t -> bool
  val partition :
    ('-> '-> bool) ->
    ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t * ('a, 'b) BatMap.t
  val add_carry :
    '-> '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t * 'b option
  val modify : '-> ('-> 'b) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val extract : '-> ('a, 'b) BatMap.t -> 'b * ('a, 'b) BatMap.t
  val pop : ('a, 'b) BatMap.t -> ('a * 'b) * ('a, 'b) BatMap.t
  val union : ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val diff : ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val intersect :
    ('-> '-> 'c) ->
    ('d, 'a) BatMap.t -> ('d, 'b) BatMap.t -> ('d, 'c) BatMap.t
  module Infix :
    sig
      val ( --> ) : ('a, 'b) BatMap.t -> '-> 'b
      val ( <-- ) : ('a, 'b) BatMap.t -> 'a * '-> ('a, 'b) BatMap.t
    end
  val print :
    ?first:string ->
    ?last:string ->
    ?sep:string ->
    ('BatInnerIO.output -> '-> unit) ->
    ('BatInnerIO.output -> '-> unit) ->
    'BatInnerIO.output -> ('b, 'c) BatMap.t -> unit
end