sig
  module type S =
    sig
      type key
      type +'a t
      val empty : 'BatMap.S.t
      val is_empty : 'BatMap.S.t -> bool
      val cardinal : 'BatMap.S.t -> int
      val add : BatMap.S.key -> '-> 'BatMap.S.t -> 'BatMap.S.t
      val update_stdlib :
        BatMap.S.key ->
        ('a option -> 'a option) -> 'BatMap.S.t -> 'BatMap.S.t
      val update :
        BatMap.S.key -> BatMap.S.key -> '-> 'BatMap.S.t -> 'BatMap.S.t
      val find : BatMap.S.key -> 'BatMap.S.t -> 'a
      val find_opt : BatMap.S.key -> 'BatMap.S.t -> 'a option
      val find_default : '-> BatMap.S.key -> 'BatMap.S.t -> 'a
      val find_first :
        (BatMap.S.key -> bool) -> 'BatMap.S.t -> BatMap.S.key * 'a
      val find_first_opt :
        (BatMap.S.key -> bool) -> 'BatMap.S.t -> (BatMap.S.key * 'a) option
      val find_last :
        (BatMap.S.key -> bool) -> 'BatMap.S.t -> BatMap.S.key * 'a
      val find_last_opt :
        (BatMap.S.key -> bool) -> 'BatMap.S.t -> (BatMap.S.key * 'a) option
      val remove : BatMap.S.key -> 'BatMap.S.t -> 'BatMap.S.t
      val remove_exn : BatMap.S.key -> 'BatMap.S.t -> 'BatMap.S.t
      val modify :
        BatMap.S.key -> ('-> 'a) -> 'BatMap.S.t -> 'BatMap.S.t
      val modify_def :
        '-> BatMap.S.key -> ('-> 'a) -> 'BatMap.S.t -> 'BatMap.S.t
      val modify_opt :
        BatMap.S.key ->
        ('a option -> 'a option) -> 'BatMap.S.t -> 'BatMap.S.t
      val extract : BatMap.S.key -> 'BatMap.S.t -> 'a * 'BatMap.S.t
      val pop : 'BatMap.S.t -> (BatMap.S.key * 'a) * '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 filterv : ('-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
      val filter :
        (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 min_binding_opt : 'BatMap.S.t -> (BatMap.S.key * 'a) option
      val pop_min_binding :
        'BatMap.S.t -> (BatMap.S.key * 'a) * 'BatMap.S.t
      val max_binding : 'BatMap.S.t -> BatMap.S.key * 'a
      val max_binding_opt : 'BatMap.S.t -> (BatMap.S.key * 'a) option
      val pop_max_binding :
        'BatMap.S.t -> (BatMap.S.key * 'a) * 'BatMap.S.t
      val choose : 'BatMap.S.t -> BatMap.S.key * 'a
      val choose_opt : 'BatMap.S.t -> (BatMap.S.key * 'a) option
      val any : 'BatMap.S.t -> BatMap.S.key * 'a
      val split :
        BatMap.S.key ->
        'BatMap.S.t -> 'BatMap.S.t * 'a option * 'BatMap.S.t
      val partition :
        (BatMap.S.key -> '-> bool) ->
        'BatMap.S.t -> 'BatMap.S.t * 'BatMap.S.t
      val singleton : BatMap.S.key -> '-> 'BatMap.S.t
      val bindings : 'BatMap.S.t -> (BatMap.S.key * 'a) list
      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 for_all : (BatMap.S.key -> '-> bool) -> 'BatMap.S.t -> bool
      val exists : (BatMap.S.key -> '-> bool) -> 'BatMap.S.t -> bool
      val merge :
        (BatMap.S.key -> 'a option -> 'b option -> 'c option) ->
        'BatMap.S.t -> 'BatMap.S.t -> 'BatMap.S.t
      val union :
        (BatMap.S.key -> '-> '-> 'a option) ->
        'BatMap.S.t -> 'BatMap.S.t -> 'BatMap.S.t
      val to_seq : 'BatMap.S.t -> (BatMap.S.key * 'a) BatSeq.t
      val to_rev_seq : 'BatMap.S.t -> (BatMap.S.key * 'a) BatSeq.t
      val to_seq_from :
        BatMap.S.key -> 'BatMap.S.t -> (BatMap.S.key * 'a) BatSeq.t
      val add_seq :
        (BatMap.S.key * 'a) BatSeq.t -> 'BatMap.S.t -> 'BatMap.S.t
      val of_seq : (BatMap.S.key * 'a) BatSeq.t -> 'BatMap.S.t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep: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
          val choose : 'BatMap.S.t -> (BatMap.S.key * 'a) option
          val any : 'BatMap.S.t -> (BatMap.S.key * '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 filterv : f:('-> bool) -> 'BatMap.S.t -> 'BatMap.S.t
          val filter :
            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 Make :
    functor (Ord : BatInterfaces.OrderedType->
      sig
        type key = Ord.t
        type +'a t
        val empty : 'a t
        val is_empty : 'a t -> bool
        val cardinal : 'a t -> int
        val add : key -> '-> 'a t -> 'a t
        val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
        val update : key -> key -> '-> 'a t -> 'a t
        val find : key -> 'a t -> 'a
        val find_opt : key -> 'a t -> 'a option
        val find_default : '-> key -> 'a t -> 'a
        val find_first : (key -> bool) -> 'a t -> key * 'a
        val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
        val find_last : (key -> bool) -> 'a t -> key * 'a
        val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
        val remove : key -> 'a t -> 'a t
        val remove_exn : key -> 'a t -> 'a t
        val modify : key -> ('-> 'a) -> 'a t -> 'a t
        val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
        val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
        val extract : key -> 'a t -> 'a * 'a t
        val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
        val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
        val pop_min_binding : 'a t -> (key * 'a) * 'a t
        val max_binding : 'a t -> key * 'a
        val max_binding_opt : 'a t -> (key * 'a) option
        val pop_max_binding : 'a t -> (key * 'a) * 'a t
        val choose : 'a t -> key * 'a
        val choose_opt : 'a t -> (key * 'a) option
        val any : 'a t -> key * 'a
        val split : key -> 'a t -> 'a t * 'a option * 'a t
        val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
        val singleton : key -> '-> 'a t
        val bindings : 'a t -> (key * 'a) list
        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 for_all : (key -> '-> bool) -> 'a t -> bool
        val exists : (key -> '-> bool) -> 'a t -> bool
        val merge :
          (key -> 'a option -> 'b option -> 'c option) ->
          'a t -> 'b t -> 'c t
        val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
        val to_seq : 'a t -> (key * 'a) BatSeq.t
        val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
        val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
        val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
        val of_seq : (key * 'a) BatSeq.t -> 'a t
        val print :
          ?first:string ->
          ?last:string ->
          ?sep:string ->
          ?kvsep:string ->
          ('BatInnerIO.output -> key -> unit) ->
          ('BatInnerIO.output -> '-> unit) ->
          'BatInnerIO.output -> 'c t -> unit
        module Exceptionless :
          sig
            val find : key -> 'a t -> 'a option
            val choose : 'a t -> (key * 'a) option
            val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
            val filter : 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 Int :
    sig
      type key = int
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 Int32 :
    sig
      type key = int32
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 Int64 :
    sig
      type key = int64
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 Nativeint :
    sig
      type key = nativeint
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 Float :
    sig
      type key = float
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 Char :
    sig
      type key = char
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 String :
    sig
      type key = string
      type +'a t
      val empty : 'a t
      val is_empty : 'a t -> bool
      val cardinal : 'a t -> int
      val add : key -> '-> 'a t -> 'a t
      val update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val update : key -> key -> '-> 'a t -> 'a t
      val find : key -> 'a t -> 'a
      val find_opt : key -> 'a t -> 'a option
      val find_default : '-> key -> 'a t -> 'a
      val find_first : (key -> bool) -> 'a t -> key * 'a
      val find_first_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val find_last : (key -> bool) -> 'a t -> key * 'a
      val find_last_opt : (key -> bool) -> 'a t -> (key * 'a) option
      val remove : key -> 'a t -> 'a t
      val remove_exn : key -> 'a t -> 'a t
      val modify : key -> ('-> 'a) -> 'a t -> 'a t
      val modify_def : '-> key -> ('-> 'a) -> 'a t -> 'a t
      val modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a t
      val extract : key -> 'a t -> 'a * 'a t
      val pop : 'a t -> (key * 'a) * '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 filterv : ('-> bool) -> 'a t -> 'a t
      val filter : (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 min_binding_opt : 'a t -> (key * 'a) option
      val pop_min_binding : 'a t -> (key * 'a) * 'a t
      val max_binding : 'a t -> key * 'a
      val max_binding_opt : 'a t -> (key * 'a) option
      val pop_max_binding : 'a t -> (key * 'a) * 'a t
      val choose : 'a t -> key * 'a
      val choose_opt : 'a t -> (key * 'a) option
      val any : 'a t -> key * 'a
      val split : key -> 'a t -> 'a t * 'a option * 'a t
      val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
      val singleton : key -> '-> 'a t
      val bindings : 'a t -> (key * 'a) list
      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 for_all : (key -> '-> bool) -> 'a t -> bool
      val exists : (key -> '-> bool) -> 'a t -> bool
      val merge :
        (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
      val union : (key -> '-> '-> 'a option) -> 'a t -> 'a t -> 'a t
      val to_seq : 'a t -> (key * 'a) BatSeq.t
      val to_rev_seq : 'a t -> (key * 'a) BatSeq.t
      val to_seq_from : key -> 'a t -> (key * 'a) BatSeq.t
      val add_seq : (key * 'a) BatSeq.t -> 'a t -> 'a t
      val of_seq : (key * 'a) BatSeq.t -> 'a t
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> key -> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> 'c t -> unit
      module Exceptionless :
        sig
          val find : key -> 'a t -> 'a option
          val choose : 'a t -> (key * 'a) option
          val any : 'a t -> (key * '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 filterv : f:('-> bool) -> 'a t -> 'a t
          val filter : 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 singleton : '-> '-> ('a, 'b) BatMap.t
  val cardinal : ('a, 'b) BatMap.t -> int
  val add : '-> '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val update : '-> '-> '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val update_stdlib :
    '-> ('b option -> 'b option) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val find : '-> ('a, 'b) BatMap.t -> 'b
  val find_opt : '-> ('a, 'b) BatMap.t -> 'b option
  val find_default : '-> '-> ('a, 'b) BatMap.t -> 'b
  val find_first : ('-> bool) -> ('a, 'b) BatMap.t -> 'a * 'b
  val find_first_opt : ('-> bool) -> ('a, 'b) BatMap.t -> ('a * 'b) option
  val find_last : ('-> bool) -> ('a, 'b) BatMap.t -> 'a * 'b
  val find_last_opt : ('-> bool) -> ('a, 'b) BatMap.t -> ('a * 'b) option
  val remove : '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val remove_exn : '-> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val mem : '-> ('a, 'b) BatMap.t -> bool
  val iter : ('-> '-> unit) -> ('a, 'b) BatMap.t -> unit
  val map : ('-> 'c) -> ('a, 'b) BatMap.t -> ('a, 'c) BatMap.t
  val mapi : ('-> '-> 'c) -> ('a, 'b) BatMap.t -> ('a, 'c) BatMap.t
  val fold : ('-> '-> 'c) -> ('a, 'b) BatMap.t -> '-> 'c
  val foldi : ('-> '-> '-> 'c) -> ('a, 'b) BatMap.t -> '-> 'c
  val at_rank_exn : int -> ('key, 'a) BatMap.t -> 'key * 'a
  val filterv : ('-> bool) -> ('key, 'a) BatMap.t -> ('key, 'a) BatMap.t
  val filter :
    ('key -> '-> bool) -> ('key, 'a) BatMap.t -> ('key, 'a) BatMap.t
  val filter_map :
    ('key -> '-> 'b option) -> ('key, 'a) BatMap.t -> ('key, 'b) BatMap.t
  val choose : ('key, 'a) BatMap.t -> 'key * 'a
  val choose_opt : ('key, 'a) BatMap.t -> ('key * 'a) option
  val any : ('key, 'a) BatMap.t -> 'key * 'a
  val split :
    'key ->
    ('key, 'a) BatMap.t ->
    ('key, 'a) BatMap.t * 'a option * ('key, 'a) BatMap.t
  val min_binding : ('key, 'a) BatMap.t -> 'key * 'a
  val min_binding_opt : ('key, 'a) BatMap.t -> ('key * 'a) option
  val pop_min_binding :
    ('key, 'a) BatMap.t -> ('key * 'a) * ('key, 'a) BatMap.t
  val max_binding : ('key, 'a) BatMap.t -> 'key * 'a
  val max_binding_opt : ('key, 'a) BatMap.t -> ('key * 'a) option
  val pop_max_binding :
    ('key, 'a) BatMap.t -> ('key * 'a) * ('key, 'a) BatMap.t
  val enum : ('a, 'b) BatMap.t -> ('a * 'b) BatEnum.t
  val backwards : ('a, 'b) BatMap.t -> ('a * 'b) BatEnum.t
  val keys : ('a, 'b) BatMap.t -> 'BatEnum.t
  val values : ('a, 'b) BatMap.t -> 'BatEnum.t
  val of_enum : ('a * 'b) BatEnum.t -> ('a, 'b) BatMap.t
  val for_all : ('-> '-> bool) -> ('a, 'b) BatMap.t -> bool
  val exists : ('-> '-> 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 modify_def :
    '-> '-> ('-> 'b) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val modify_opt :
    '-> ('b option -> 'b option) -> ('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 union_stdlib :
    ('key -> '-> '-> 'a option) ->
    ('key, 'a) BatMap.t -> ('key, 'a) BatMap.t -> ('key, 'a) BatMap.t
  val to_seq : ('key, 'a) BatMap.t -> ('key * 'a) BatSeq.t
  val to_rev_seq : ('key, 'a) BatMap.t -> ('key * 'a) BatSeq.t
  val to_seq_from : 'key -> ('key, 'a) BatMap.t -> ('key * 'a) BatSeq.t
  val add_seq :
    ('key * 'a) BatSeq.t -> ('key, 'a) BatMap.t -> ('key, 'a) BatMap.t
  val of_seq : ('key * 'a) BatSeq.t -> ('key, 'a) BatMap.t
  val diff : ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t
  val intersect :
    ('-> '-> 'd) ->
    ('a, 'b) BatMap.t -> ('a, 'c) BatMap.t -> ('a, 'd) BatMap.t
  val merge :
    ('key -> 'a option -> 'b option -> 'c option) ->
    ('key, 'a) BatMap.t -> ('key, 'b) BatMap.t -> ('key, 'c) BatMap.t
  val compare :
    ('-> '-> int) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t -> int
  val equal :
    ('-> '-> bool) -> ('a, 'b) BatMap.t -> ('a, 'b) BatMap.t -> bool
  module Exceptionless :
    sig
      val find : '-> ('a, 'b) BatMap.t -> 'b option
      val choose : ('a, 'b) BatMap.t -> ('a * 'b) option
      val any : ('a, 'b) BatMap.t -> ('a * 'b) option
    end
  module Infix :
    sig
      val ( --> ) : ('a, 'b) BatMap.t -> '-> 'b
      val ( <-- ) : ('a, 'b) BatMap.t -> 'a * '-> ('a, 'b) BatMap.t
    end
  val ( --> ) : ('a, 'b) BatMap.t -> '-> 'b
  val ( <-- ) : ('a, 'b) BatMap.t -> 'a * '-> ('a, 'b) BatMap.t
  val bindings : ('key, 'a) BatMap.t -> ('key * 'a) list
  val print :
    ?first:string ->
    ?last:string ->
    ?sep:string ->
    ?kvsep:string ->
    ('BatInnerIO.output -> '-> unit) ->
    ('BatInnerIO.output -> '-> unit) ->
    'BatInnerIO.output -> ('b, 'c) BatMap.t -> unit
  module type OrderedType = BatInterfaces.OrderedType
  module PMap :
    sig
      type ('a, 'b) t
      val empty : ('a, 'b) BatMap.PMap.t
      val is_empty : ('a, 'b) BatMap.PMap.t -> bool
      val create : ('-> '-> int) -> ('a, 'b) BatMap.PMap.t
      val singleton :
        ?cmp:('-> '-> int) -> '-> '-> ('a, 'b) BatMap.PMap.t
      val cardinal : ('a, 'b) BatMap.PMap.t -> int
      val add : '-> '-> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val update :
        '-> '-> '-> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val update_stdlib :
        '->
        ('b option -> 'b option) ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val find : '-> ('a, 'b) BatMap.PMap.t -> 'b
      val find_default : '-> '-> ('a, 'b) BatMap.PMap.t -> 'b
      val find_first : ('-> bool) -> ('a, 'b) BatMap.PMap.t -> 'a * 'b
      val find_first_opt :
        ('-> bool) -> ('a, 'b) BatMap.PMap.t -> ('a * 'b) option
      val find_last : ('-> bool) -> ('a, 'b) BatMap.PMap.t -> 'a * 'b
      val find_last_opt :
        ('-> bool) -> ('a, 'b) BatMap.PMap.t -> ('a * 'b) option
      val remove : '-> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val remove_exn : '-> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val mem : '-> ('a, 'b) BatMap.PMap.t -> bool
      val iter : ('-> '-> unit) -> ('a, 'b) BatMap.PMap.t -> unit
      val map :
        ('-> 'c) -> ('a, 'b) BatMap.PMap.t -> ('a, 'c) BatMap.PMap.t
      val mapi :
        ('-> '-> 'c) -> ('a, 'b) BatMap.PMap.t -> ('a, 'c) BatMap.PMap.t
      val fold : ('-> '-> 'c) -> ('a, 'b) BatMap.PMap.t -> '-> 'c
      val foldi :
        ('-> '-> '-> 'c) -> ('a, 'b) BatMap.PMap.t -> '-> 'c
      val at_rank_exn : int -> ('a, 'b) BatMap.PMap.t -> 'a * 'b
      val filterv :
        ('-> bool) -> ('key, 'a) BatMap.PMap.t -> ('key, 'a) BatMap.PMap.t
      val filter :
        ('key -> '-> bool) ->
        ('key, 'a) BatMap.PMap.t -> ('key, 'a) BatMap.PMap.t
      val filter_map :
        ('key -> '-> 'b option) ->
        ('key, 'a) BatMap.PMap.t -> ('key, 'b) BatMap.PMap.t
      val choose : ('key, 'a) BatMap.PMap.t -> 'key * 'a
      val choose_opt : ('key, 'a) BatMap.PMap.t -> ('key * 'a) option
      val any : ('key, 'a) BatMap.PMap.t -> 'key * 'a
      val split :
        'key ->
        ('key, 'a) BatMap.PMap.t ->
        ('key, 'a) BatMap.PMap.t * 'a option * ('key, 'a) BatMap.PMap.t
      val min_binding : ('key, 'a) BatMap.PMap.t -> 'key * 'a
      val min_binding_opt : ('key, 'a) BatMap.PMap.t -> ('key * 'a) option
      val pop_min_binding :
        ('key, 'a) BatMap.PMap.t -> ('key * 'a) * ('key, 'a) BatMap.PMap.t
      val max_binding : ('key, 'a) BatMap.PMap.t -> 'key * 'a
      val max_binding_opt : ('key, 'a) BatMap.PMap.t -> ('key * 'a) option
      val pop_max_binding :
        ('key, 'a) BatMap.PMap.t -> ('key * 'a) * ('key, 'a) BatMap.PMap.t
      val enum : ('a, 'b) BatMap.PMap.t -> ('a * 'b) BatEnum.t
      val backwards : ('a, 'b) BatMap.PMap.t -> ('a * 'b) BatEnum.t
      val keys : ('a, 'b) BatMap.PMap.t -> 'BatEnum.t
      val values : ('a, 'b) BatMap.PMap.t -> 'BatEnum.t
      val of_enum :
        ?cmp:('-> '-> int) ->
        ('a * 'b) BatEnum.t -> ('a, 'b) BatMap.PMap.t
      val for_all : ('-> '-> bool) -> ('a, 'b) BatMap.PMap.t -> bool
      val exists : ('-> '-> bool) -> ('a, 'b) BatMap.PMap.t -> bool
      val partition :
        ('-> '-> bool) ->
        ('a, 'b) BatMap.PMap.t ->
        ('a, 'b) BatMap.PMap.t * ('a, 'b) BatMap.PMap.t
      val add_carry :
        '->
        '-> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t * 'b option
      val modify :
        '-> ('-> 'b) -> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val modify_def :
        '->
        '-> ('-> 'b) -> ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val modify_opt :
        '->
        ('b option -> 'b option) ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val extract :
        '-> ('a, 'b) BatMap.PMap.t -> 'b * ('a, 'b) BatMap.PMap.t
      val pop : ('a, 'b) BatMap.PMap.t -> ('a * 'b) * ('a, 'b) BatMap.PMap.t
      val union :
        ('a, 'b) BatMap.PMap.t ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val diff :
        ('a, 'b) BatMap.PMap.t ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t
      val intersect :
        ('-> '-> 'd) ->
        ('a, 'b) BatMap.PMap.t ->
        ('a, 'c) BatMap.PMap.t -> ('a, 'd) BatMap.PMap.t
      val merge :
        ('key -> 'a option -> 'b option -> 'c option) ->
        ('key, 'a) BatMap.PMap.t ->
        ('key, 'b) BatMap.PMap.t -> ('key, 'c) BatMap.PMap.t
      val merge_unsafe :
        ('key -> 'a option -> 'b option -> 'c option) ->
        ('key, 'a) BatMap.PMap.t ->
        ('key, 'b) BatMap.PMap.t -> ('key, 'c) BatMap.PMap.t
      val union_stdlib :
        ('key -> '-> '-> 'a option) ->
        ('key, 'a) BatMap.PMap.t ->
        ('key, 'a) BatMap.PMap.t -> ('key, 'a) BatMap.PMap.t
      val to_seq : ('key, 'a) BatMap.PMap.t -> ('key * 'a) BatSeq.t
      val to_rev_seq : ('key, 'a) BatMap.PMap.t -> ('key * 'a) BatSeq.t
      val to_seq_from :
        'key -> ('key, 'a) BatMap.PMap.t -> ('key * 'a) BatSeq.t
      val add_seq :
        ('key * 'a) BatSeq.t ->
        ('key, 'a) BatMap.PMap.t -> ('key, 'a) BatMap.PMap.t
      val of_seq :
        ?cmp:('key -> 'key -> int) ->
        ('key * 'a) BatSeq.t -> ('key, 'a) BatMap.PMap.t
      val compare :
        ('-> '-> int) ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t -> int
      val equal :
        ('-> '-> bool) ->
        ('a, 'b) BatMap.PMap.t -> ('a, 'b) BatMap.PMap.t -> bool
      module Exceptionless :
        sig
          val find : '-> ('a, 'b) BatMap.PMap.t -> 'b option
          val choose : ('a, 'b) BatMap.PMap.t -> ('a * 'b) option
          val any : ('a, 'b) BatMap.PMap.t -> ('a * 'b) option
        end
      module Infix :
        sig
          val ( --> ) : ('a, 'b) BatMap.PMap.t -> '-> 'b
          val ( <-- ) :
            ('a, 'b) BatMap.PMap.t -> 'a * '-> ('a, 'b) BatMap.PMap.t
        end
      val ( --> ) : ('a, 'b) BatMap.PMap.t -> '-> 'b
      val ( <-- ) :
        ('a, 'b) BatMap.PMap.t -> 'a * '-> ('a, 'b) BatMap.PMap.t
      val bindings : ('key, 'a) BatMap.PMap.t -> ('key * 'a) list
      val print :
        ?first:string ->
        ?last:string ->
        ?sep:string ->
        ?kvsep:string ->
        ('BatInnerIO.output -> '-> unit) ->
        ('BatInnerIO.output -> '-> unit) ->
        'BatInnerIO.output -> ('b, 'c) BatMap.PMap.t -> unit
      val get_cmp : ('a, 'b) BatMap.PMap.t -> '-> '-> int
    end
end