`sig
type 'a t
type 'a bound_ = 'a
val create : 'a bound_ -> 'a bound_ -> 'a t
val empty : 'a t
val intersect : 'a t -> 'a t -> 'a t
val is_empty : 'a t -> bool
val is_empty_or_singleton : 'a t -> bool
val bounds : 'a t -> ('a bound_ * 'a bound_) option
val lbound : 'a t -> 'a bound_ option
val ubound : 'a t -> 'a bound_ option
val bounds_exn : 'a t -> 'a bound_ * 'a bound_
val lbound_exn : 'a t -> 'a bound_
val ubound_exn : 'a t -> 'a bound_
val convex_hull : 'a t list -> 'a t
val contains : 'a t -> 'a bound_ -> bool
val compare_value :
'a t -> 'a bound_ -> [ `Above | `Below | `Interval_is_empty | `Within ]
val bound : 'a t -> 'a bound_ -> 'a bound_ option
val is_superset : 'a t -> of_:'a t -> bool
val is_subset : 'a t -> of_:'a t -> bool
val map : 'a t -> f:('a bound_ -> 'b bound_) -> 'b t
val are_disjoint : 'a t list -> bool
val are_disjoint_as_open_intervals : 'a t list -> bool
val list_intersect : 'a t list -> 'a t list -> 'a t list
val half_open_intervals_are_a_partition : 'a t list -> bool
module Set :
sig
type 'a t
val create : ('a bound_ * 'a bound_) list -> 'a t
val create_from_intervals : 'a t list -> 'a t
val contains : 'a t -> 'a bound_ -> bool
val contains_set : container:'a t -> contained:'a t -> bool
val ubound_exn : 'a t -> 'a bound_
val lbound_exn : 'a t -> 'a bound_
val ubound : 'a t -> 'a bound_ option
val lbound : 'a t -> 'a bound_ option
val t_of_sexp :
(Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a Interval_intf.S1.Set.t
val sexp_of_t :
('a -> Sexplib.Sexp.t) -> 'a Interval_intf.S1.Set.t -> Sexplib.Sexp.t
val bin_t :
'a Bin_prot.Type_class.t ->
'a Interval_intf.S1.Set.t Bin_prot.Type_class.t
val bin_read_t :
'a Bin_prot.Read.reader ->
'a Interval_intf.S1.Set.t Bin_prot.Read.reader
val __bin_read_t__ :
'a Bin_prot.Read.reader ->
(int -> 'a Interval_intf.S1.Set.t) Bin_prot.Read.reader
val bin_reader_t :
'a Bin_prot.Type_class.reader ->
'a Interval_intf.S1.Set.t Bin_prot.Type_class.reader
val bin_size_t :
'a Bin_prot.Size.sizer ->
'a Interval_intf.S1.Set.t Bin_prot.Size.sizer
val bin_write_t :
'a Bin_prot.Write.writer ->
'a Interval_intf.S1.Set.t Bin_prot.Write.writer
val bin_writer_t :
'a Bin_prot.Type_class.writer ->
'a Interval_intf.S1.Set.t Bin_prot.Type_class.writer
end
val t_of_sexp :
(Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a Interval_intf.S1.t
val sexp_of_t :
('a -> Sexplib.Sexp.t) -> 'a Interval_intf.S1.t -> Sexplib.Sexp.t
val bin_t :
'a Bin_prot.Type_class.t -> 'a Interval_intf.S1.t Bin_prot.Type_class.t
val bin_read_t :
'a Bin_prot.Read.reader -> 'a Interval_intf.S1.t Bin_prot.Read.reader
val __bin_read_t__ :
'a Bin_prot.Read.reader ->
(int -> 'a Interval_intf.S1.t) Bin_prot.Read.reader
val bin_reader_t :
'a Bin_prot.Type_class.reader ->
'a Interval_intf.S1.t Bin_prot.Type_class.reader
val bin_size_t :
'a Bin_prot.Size.sizer -> 'a Interval_intf.S1.t Bin_prot.Size.sizer
val bin_write_t :
'a Bin_prot.Write.writer -> 'a Interval_intf.S1.t Bin_prot.Write.writer
val bin_writer_t :
'a Bin_prot.Type_class.writer ->
'a Interval_intf.S1.t Bin_prot.Type_class.writer
end`