functor (Ord : OrderedType->
  sig
    module M :
      sig
        type key = Ord.t
        type +'a t
        val empty : 'a t
        val is_empty : 'a t -> bool
        val mem : key -> 'a t -> bool
        val add : key -> '-> 'a t -> 'a t
        val singleton : key -> '-> 'a t
        val remove : key -> 'a t -> 'a t
        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 compare : ('-> '-> int) -> 'a t -> 'a t -> int
        val equal : ('-> '-> bool) -> 'a t -> 'a t -> bool
        val iter : (key -> '-> unit) -> 'a t -> unit
        val fold : (key -> '-> '-> 'b) -> 'a t -> '-> 'b
        val for_all : (key -> '-> bool) -> 'a t -> bool
        val exists : (key -> '-> bool) -> 'a t -> bool
        val filter : (key -> '-> bool) -> 'a t -> 'a t
        val partition : (key -> '-> bool) -> 'a t -> 'a t * 'a t
        val cardinal : 'a t -> int
        val bindings : 'a t -> (key * 'a) list
        val min_binding : 'a t -> key * 'a
        val max_binding : 'a t -> key * 'a
        val choose : 'a t -> key * 'a
        val split : key -> 'a t -> 'a t * 'a option * 'a t
        val find : key -> 'a t -> 'a
        val map : ('-> 'b) -> 'a t -> 'b t
        val mapi : (key -> '-> 'b) -> 'a t -> 'b t
        val change : ('a option -> 'a option) -> key -> 'a t -> 'a t
        val inter : (key -> '-> '-> 'c option) -> 'a t -> 'b t -> 'c t
        val diff : (key -> '-> '-> 'a option) -> 'a t -> 'b t -> 'a t
        val submap : (key -> '-> '-> bool) -> 'a t -> 'b t -> bool
        val disjoint : (key -> '-> '-> bool) -> 'a t -> 'b t -> bool
        val set_union : 'a t -> 'a t -> 'a t
        val set_inter : 'a t -> 'b t -> 'a t
        val set_diff : 'a t -> 'b t -> 'a t
        val set_submap : 'a t -> 'b t -> bool
        val set_disjoint : 'a t -> 'b t -> bool
        val set_compare : 'a t -> 'b t -> int
        val set_equal : 'a t -> 'b t -> bool
        val find_def : '-> key -> 'a t -> 'a
        val find_opt : key -> 'a t -> 'a option
        val find_exn : exn -> key -> 'a t -> 'a
        val map_filter : ('-> 'b option) -> 'a t -> 'b t
        val mapi_filter : (key -> '-> 'b option) -> 'a t -> 'b t
        val mapi_fold :
          (key -> '-> 'acc -> 'acc * 'b) -> 'a t -> 'acc -> 'acc * 'b t
        val mapi_filter_fold :
          (key -> '-> 'acc -> 'acc * 'b option) ->
          'a t -> 'acc -> 'acc * 'b t
        val fold_left : ('-> key -> '-> 'b) -> '-> 'a t -> 'b
        val fold2_inter :
          (key -> '-> '-> '-> 'c) -> 'a t -> 'b t -> '-> 'c
        val fold2_union :
          (key -> 'a option -> 'b option -> '-> 'c) ->
          'a t -> 'b t -> '-> 'c
        val translate : (key -> key) -> 'a t -> 'a t
        val add_new : exn -> key -> '-> 'a t -> 'a t
        val replace : exn -> key -> '-> 'a t -> 'a t
        val keys : 'a t -> key list
        val values : 'a t -> 'a list
        val of_list : (key * 'a) list -> 'a t
        val contains : 'a t -> key -> bool
        val domain : 'a t -> unit t
        val subdomain : (key -> '-> bool) -> 'a t -> unit t
        val is_num_elt : int -> 'a t -> bool
        type 'a enumeration
        val val_enum : 'a enumeration -> (key * 'a) option
        val start_enum : 'a t -> 'a enumeration
        val next_enum : 'a enumeration -> 'a enumeration
        val start_ge_enum : key -> 'a t -> 'a enumeration
        val next_ge_enum : key -> 'a enumeration -> 'a enumeration
      end
    type elt = M.key
    type t = unit M.t
    val empty : t
    val is_empty : t -> bool
    val mem : elt -> t -> bool
    val add : elt -> t -> t
    val singleton : elt -> t
    val remove : elt -> t -> t
    val merge : (elt -> bool -> bool -> bool) -> t -> t -> t
    val compare : t -> t -> int
    val equal : t -> t -> bool
    val subset : t -> t -> bool
    val disjoint : t -> t -> bool
    val iter : (elt -> unit) -> t -> unit
    val fold : (elt -> '-> 'a) -> t -> '-> 'a
    val for_all : (elt -> bool) -> t -> bool
    val exists : (elt -> bool) -> t -> bool
    val filter : (elt -> bool) -> t -> t
    val partition : (elt -> bool) -> t -> t * t
    val cardinal : t -> int
    val elements : t -> elt list
    val min_elt : t -> elt
    val max_elt : t -> elt
    val choose : t -> elt
    val split : elt -> t -> t * bool * t
    val change : (bool -> bool) -> elt -> t -> t
    val union : t -> t -> t
    val inter : t -> t -> t
    val diff : t -> t -> t
    val fold_left : ('-> elt -> 'b) -> '-> t -> 'b
    val fold2_inter : (elt -> '-> 'a) -> t -> t -> '-> 'a
    val fold2_union : (elt -> '-> 'a) -> t -> t -> '-> 'a
    val translate : (elt -> elt) -> t -> t
    val add_new : exn -> elt -> t -> t
    val is_num_elt : int -> t -> bool
    val of_list : elt list -> t
    val contains : t -> elt -> bool
    val add_left : t -> elt -> t
    val remove_left : t -> elt -> t
    val print :
      (Format.formatter -> elt -> unit) -> Format.formatter -> t -> unit
  end