sig
  type key = prsymbol
  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