sig
  type 'a t
  val sexp_of_t :
    ('-> Sexplib.Sexp.t) -> 'Interval_intf.S1.Set.t -> Sexplib.Sexp.t
  val t_of_sexp :
    (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'Interval_intf.S1.Set.t
  val bin_size_t :
    'Bin_prot.Size.sizer -> 'Interval_intf.S1.Set.t Bin_prot.Size.sizer
  val bin_write_t :
    'Bin_prot.Unsafe_write_c.writer ->
    'Interval_intf.S1.Set.t Bin_prot.Write_ml.writer
  val bin_write_t_ :
    'Bin_prot.Unsafe_write_c.writer ->
    'Interval_intf.S1.Set.t Bin_prot.Unsafe_write_c.writer
  val bin_writer_t :
    'Bin_prot.Type_class.writer ->
    'Interval_intf.S1.Set.t Bin_prot.Type_class.writer
  val bin_read_t :
    'Bin_prot.Unsafe_read_c.reader ->
    'Interval_intf.S1.Set.t Bin_prot.Read_ml.reader
  val bin_read_t_ :
    'Bin_prot.Unsafe_read_c.reader ->
    'Interval_intf.S1.Set.t Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ :
    'Bin_prot.Unsafe_read_c.reader ->
    (int -> 'Interval_intf.S1.Set.t) Bin_prot.Unsafe_read_c.reader
  val bin_reader_t :
    'Bin_prot.Type_class.reader ->
    'Interval_intf.S1.Set.t Bin_prot.Type_class.reader
  val bin_t :
    'Bin_prot.Type_class.t ->
    'Interval_intf.S1.Set.t Bin_prot.Type_class.t
  module T :
    sig
      type 'a t = 'a t
      type 'a bound = 'a
      type 'a interval = 'a 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
end