sig
  type t
  val sexp_of_t : Interval_intf.S.Set.t -> Sexplib.Sexp.t
  val t_of_sexp : Sexplib.Sexp.t -> Interval_intf.S.Set.t
  val bin_size_t : Interval_intf.S.Set.t Bin_prot.Size.sizer
  val bin_write_t : Interval_intf.S.Set.t Bin_prot.Write_ml.writer
  val bin_write_t_ : Interval_intf.S.Set.t Bin_prot.Unsafe_write_c.writer
  val bin_writer_t : Interval_intf.S.Set.t Bin_prot.Type_class.writer
  val bin_read_t : Interval_intf.S.Set.t Bin_prot.Read_ml.reader
  val bin_read_t_ : Interval_intf.S.Set.t Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ :
    (int -> Interval_intf.S.Set.t) Bin_prot.Unsafe_read_c.reader
  val bin_reader_t : Interval_intf.S.Set.t Bin_prot.Type_class.reader
  val bin_t : Interval_intf.S.Set.t Bin_prot.Type_class.t
  type 'a poly_t
  val sexp_of_poly_t :
    ('-> Sexplib.Sexp.t) -> 'Interval_intf.S.Set.poly_t -> Sexplib.Sexp.t
  val poly_t_of_sexp :
    (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'Interval_intf.S.Set.poly_t
  val bin_size_poly_t :
    'Bin_prot.Size.sizer ->
    'Interval_intf.S.Set.poly_t Bin_prot.Size.sizer
  val bin_write_poly_t :
    'Bin_prot.Unsafe_write_c.writer ->
    'Interval_intf.S.Set.poly_t Bin_prot.Write_ml.writer
  val bin_write_poly_t_ :
    'Bin_prot.Unsafe_write_c.writer ->
    'Interval_intf.S.Set.poly_t Bin_prot.Unsafe_write_c.writer
  val bin_writer_poly_t :
    'Bin_prot.Type_class.writer ->
    'Interval_intf.S.Set.poly_t Bin_prot.Type_class.writer
  val bin_read_poly_t :
    'Bin_prot.Unsafe_read_c.reader ->
    'Interval_intf.S.Set.poly_t Bin_prot.Read_ml.reader
  val bin_read_poly_t_ :
    'Bin_prot.Unsafe_read_c.reader ->
    'Interval_intf.S.Set.poly_t Bin_prot.Unsafe_read_c.reader
  val bin_read_poly_t__ :
    'Bin_prot.Unsafe_read_c.reader ->
    (int -> 'Interval_intf.S.Set.poly_t) Bin_prot.Unsafe_read_c.reader
  val bin_reader_poly_t :
    'Bin_prot.Type_class.reader ->
    'Interval_intf.S.Set.poly_t Bin_prot.Type_class.reader
  val bin_poly_t :
    'Bin_prot.Type_class.t ->
    'Interval_intf.S.Set.poly_t Bin_prot.Type_class.t
  module T :
    sig type 'a t = t type 'a bound = bound type 'a interval = interval end
  val create : ('T.bound * 'T.bound) list -> 'T.t
  val create_from_intervals : 'T.interval list -> 'T.t
  val contains : 'T.t -> 'T.bound -> bool
  val contains_set : container:'T.t -> contained:'T.t -> bool
  val ubound_exn : 'T.t -> 'T.bound
  val lbound_exn : 'T.t -> 'T.bound
  val ubound : 'T.t -> 'T.bound option
  val lbound : 'T.t -> 'T.bound option
  val to_poly :
    Interval_intf.S.Set.t -> Interval_intf.S.bound Interval_intf.S.Set.poly_t
end