sig
  type ('a, 'b, 'c) map = ('a, 'b, 'c) Core_map.t
  module Tree :
    sig
      type ('k, 'v) t = ('k, 'v, Comparator.Poly.comparator) Core_map.Tree.t
      val empty : ('a, 'b) t
      val singleton : '-> '-> ('a, 'b) t
      val of_alist :
        ('a * 'b) list -> [ `Duplicate_key of '| `Ok of ('a, 'b) t ]
      val of_alist_exn : ('a * 'b) list -> ('a, 'b) t
      val of_alist_multi : ('a * 'b) list -> ('a, 'b list) t
      val of_alist_fold :
        ('a * 'b) list -> init:'-> f:('-> '-> 'c) -> ('a, 'c) t
      val of_sorted_array : ('a * 'b) array -> ('a, 'b) t Or_error.t
      val of_sorted_array_unchecked : ('a * 'b) array -> ('a, 'b) t
      val of_tree : ('a, 'b) t -> ('a, 'b) t
      val invariants : ('a, 'b) t -> bool
      val is_empty : ('a, 'b) t -> bool
      val length : ('a, 'b) t -> int
      val add : ('a, 'b) t -> key:'-> data:'-> ('a, 'b) t
      val add_multi : ('a, 'b list) t -> key:'-> data:'-> ('a, 'b list) t
      val change : ('a, 'b) t -> '-> ('b option -> 'b option) -> ('a, 'b) t
      val find : ('a, 'b) t -> '-> 'b option
      val find_exn : ('a, 'b) t -> '-> 'b
      val remove : ('a, 'b) t -> '-> ('a, 'b) t
      val mem : ('a, 'b) t -> '-> bool
      val iter : ('a, 'b) t -> f:(key:'-> data:'-> unit) -> unit
      val iter2 :
        ('a, 'b) t ->
        ('a, 'c) t ->
        f:(key:'->
           data:[ `Both of 'b * '| `Left of '| `Right of 'c ] -> unit) ->
        unit
      val map : ('a, 'b) t -> f:('-> 'c) -> ('a, 'c) t
      val mapi : ('a, 'b) t -> f:(key:'-> data:'-> 'c) -> ('a, 'c) t
      val fold :
        ('a, 'b) t -> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
      val fold_right :
        ('a, 'b) t -> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
      val filter : ('a, 'b) t -> f:(key:'-> data:'-> bool) -> ('a, 'b) t
      val filter_map : ('a, 'b) t -> f:('-> 'c option) -> ('a, 'c) t
      val filter_mapi :
        ('a, 'b) t -> f:(key:'-> data:'-> 'c option) -> ('a, 'c) t
      val compare_direct :
        ('-> '-> int) -> ('a, 'b) t -> ('a, 'b) t -> int
      val equal : ('-> '-> bool) -> ('a, 'b) t -> ('a, 'b) t -> bool
      val keys : ('a, 'b) t -> 'a list
      val data : ('a, 'b) t -> 'b list
      val to_alist : ('a, 'b) t -> ('a * 'b) list
      val validate :
        name:('-> string) -> 'Validate.check -> ('a, 'b) t Validate.check
      val merge :
        ('a, 'b) t ->
        ('a, 'c) t ->
        f:(key:'->
           [ `Both of 'b * '| `Left of '| `Right of 'c ] -> 'd option) ->
        ('a, 'd) t
      val symmetric_diff :
        ('a, 'b) t ->
        ('a, 'b) t ->
        data_equal:('-> '-> bool) ->
        ('a * [ `Left of '| `Right of '| `Unequal of 'b * 'b ]) list
      val min_elt : ('a, 'b) t -> ('a * 'b) option
      val min_elt_exn : ('a, 'b) t -> 'a * 'b
      val max_elt : ('a, 'b) t -> ('a * 'b) option
      val max_elt_exn : ('a, 'b) t -> 'a * 'b
      val for_all : ('a, 'b) t -> f:('-> bool) -> bool
      val exists : ('a, 'b) t -> f:('-> bool) -> bool
      val fold_range_inclusive :
        ('a, 'b) t ->
        min:'->
        max:'-> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
      val range_to_alist : ('a, 'b) t -> min:'-> max:'-> ('a * 'b) list
      val prev_key : ('a, 'b) t -> '-> ('a * 'b) option
      val next_key : ('a, 'b) t -> '-> ('a * 'b) option
      val rank : ('a, 'b) t -> '-> int option
      val to_tree : ('a, 'b) t -> ('a, 'b) t
      val t_of_sexp :
        (Sexplib.Sexp.t -> 'k) ->
        (Sexplib.Sexp.t -> 'v) ->
        Sexplib.Sexp.t -> ('k, 'v) Core_map.Poly.Tree.t
      val sexp_of_t :
        ('-> Sexplib.Sexp.t) ->
        ('-> Sexplib.Sexp.t) ->
        ('k, 'v) Core_map.Poly.Tree.t -> Sexplib.Sexp.t
    end
  type ('a, 'b) t = ('a, 'b, Comparator.Poly.comparator) Core_map.Poly.map
  val empty : ('a, 'b) t
  val singleton : '-> '-> ('a, 'b) t
  val of_alist :
    ('a * 'b) list -> [ `Duplicate_key of '| `Ok of ('a, 'b) t ]
  val of_alist_exn : ('a * 'b) list -> ('a, 'b) t
  val of_alist_multi : ('a * 'b) list -> ('a, 'b list) t
  val of_alist_fold :
    ('a * 'b) list -> init:'-> f:('-> '-> 'c) -> ('a, 'c) t
  val of_sorted_array : ('a * 'b) array -> ('a, 'b) t Or_error.t
  val of_sorted_array_unchecked : ('a * 'b) array -> ('a, 'b) t
  val of_tree : ('a, 'b) Tree.t -> ('a, 'b) t
  val invariants : ('a, 'b) t -> bool
  val is_empty : ('a, 'b) t -> bool
  val length : ('a, 'b) t -> int
  val add : ('a, 'b) t -> key:'-> data:'-> ('a, 'b) t
  val add_multi : ('a, 'b list) t -> key:'-> data:'-> ('a, 'b list) t
  val change : ('a, 'b) t -> '-> ('b option -> 'b option) -> ('a, 'b) t
  val find : ('a, 'b) t -> '-> 'b option
  val find_exn : ('a, 'b) t -> '-> 'b
  val remove : ('a, 'b) t -> '-> ('a, 'b) t
  val mem : ('a, 'b) t -> '-> bool
  val iter : ('a, 'b) t -> f:(key:'-> data:'-> unit) -> unit
  val iter2 :
    ('a, 'b) t ->
    ('a, 'c) t ->
    f:(key:'->
       data:[ `Both of 'b * '| `Left of '| `Right of 'c ] -> unit) ->
    unit
  val map : ('a, 'b) t -> f:('-> 'c) -> ('a, 'c) t
  val mapi : ('a, 'b) t -> f:(key:'-> data:'-> 'c) -> ('a, 'c) t
  val fold : ('a, 'b) t -> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val fold_right :
    ('a, 'b) t -> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val filter : ('a, 'b) t -> f:(key:'-> data:'-> bool) -> ('a, 'b) t
  val filter_map : ('a, 'b) t -> f:('-> 'c option) -> ('a, 'c) t
  val filter_mapi :
    ('a, 'b) t -> f:(key:'-> data:'-> 'c option) -> ('a, 'c) t
  val compare_direct : ('-> '-> int) -> ('a, 'b) t -> ('a, 'b) t -> int
  val equal : ('-> '-> bool) -> ('a, 'b) t -> ('a, 'b) t -> bool
  val keys : ('a, 'b) t -> 'a list
  val data : ('a, 'b) t -> 'b list
  val to_alist : ('a, 'b) t -> ('a * 'b) list
  val validate :
    name:('-> string) -> 'Validate.check -> ('a, 'b) t Validate.check
  val merge :
    ('a, 'b) t ->
    ('a, 'c) t ->
    f:(key:'->
       [ `Both of 'b * '| `Left of '| `Right of 'c ] -> 'd option) ->
    ('a, 'd) t
  val symmetric_diff :
    ('a, 'b) t ->
    ('a, 'b) t ->
    data_equal:('-> '-> bool) ->
    ('a * [ `Left of '| `Right of '| `Unequal of 'b * 'b ]) list
  val min_elt : ('a, 'b) t -> ('a * 'b) option
  val min_elt_exn : ('a, 'b) t -> 'a * 'b
  val max_elt : ('a, 'b) t -> ('a * 'b) option
  val max_elt_exn : ('a, 'b) t -> 'a * 'b
  val for_all : ('a, 'b) t -> f:('-> bool) -> bool
  val exists : ('a, 'b) t -> f:('-> bool) -> bool
  val fold_range_inclusive :
    ('a, 'b) t ->
    min:'-> max:'-> init:'-> f:(key:'-> data:'-> '-> 'c) -> 'c
  val range_to_alist : ('a, 'b) t -> min:'-> max:'-> ('a * 'b) list
  val prev_key : ('a, 'b) t -> '-> ('a * 'b) option
  val next_key : ('a, 'b) t -> '-> ('a * 'b) option
  val rank : ('a, 'b) t -> '-> int option
  val to_tree : ('a, 'b) t -> ('a, 'b) Tree.t
  val compare :
    ('-> '-> int) ->
    ('-> '-> int) ->
    ('a, 'b) Core_map.Poly.t -> ('a, 'b) Core_map.Poly.t -> int
  val t_of_sexp :
    (Sexplib.Sexp.t -> 'a) ->
    (Sexplib.Sexp.t -> 'b) -> Sexplib.Sexp.t -> ('a, 'b) Core_map.Poly.t
  val sexp_of_t :
    ('-> Sexplib.Sexp.t) ->
    ('-> Sexplib.Sexp.t) -> ('a, 'b) Core_map.Poly.t -> Sexplib.Sexp.t
  val bin_t :
    'Bin_prot.Type_class.t ->
    'Bin_prot.Type_class.t ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Type_class.t
  val bin_read_t :
    'Bin_prot.Unsafe_read_c.reader ->
    'Bin_prot.Unsafe_read_c.reader ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Read_ml.reader
  val bin_read_t_ :
    'Bin_prot.Unsafe_read_c.reader ->
    'Bin_prot.Unsafe_read_c.reader ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ :
    'Bin_prot.Unsafe_read_c.reader ->
    'Bin_prot.Unsafe_read_c.reader ->
    (int -> ('a, 'b) Core_map.Poly.t) Bin_prot.Unsafe_read_c.reader
  val bin_reader_t :
    'Bin_prot.Type_class.reader ->
    'Bin_prot.Type_class.reader ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Type_class.reader
  val bin_size_t :
    'Bin_prot.Size.sizer ->
    'Bin_prot.Size.sizer -> ('a, 'b) Core_map.Poly.t Bin_prot.Size.sizer
  val bin_write_t :
    'Bin_prot.Unsafe_write_c.writer ->
    'Bin_prot.Unsafe_write_c.writer ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Write_ml.writer
  val bin_write_t_ :
    'Bin_prot.Unsafe_write_c.writer ->
    'Bin_prot.Unsafe_write_c.writer ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Unsafe_write_c.writer
  val bin_writer_t :
    'Bin_prot.Type_class.writer ->
    'Bin_prot.Type_class.writer ->
    ('a, 'b) Core_map.Poly.t Bin_prot.Type_class.writer
end