module Make (
M
:
sig
type
t
include Comparable.S
include Sexpable.S
include Binable.S
end
)
: S
with type bound = M.t and type 'a poly_t = M.t t
Parameters: |
M |
: |
sig
type t
include Comparable.S with type t := t
(* Sexps are () for empty interval and (3 5) for an interval containing 3, 4, and 5. *)
include Sexpable.S with type t := t
include Binable.S with type t := t
end
|
|
type
t
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write_ml.writer
val bin_write_t_ : t Bin_prot.Unsafe_write_c.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_read_t : t Bin_prot.Read_ml.reader
val bin_read_t_ : t Bin_prot.Unsafe_read_c.reader
val bin_read_t__ : (int -> t) Bin_prot.Unsafe_read_c.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_t : t Bin_prot.Type_class.t
type 'a
poly_t
val sexp_of_poly_t : ('a -> Sexplib.Sexp.t) -> 'a poly_t -> Sexplib.Sexp.t
val poly_t_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a poly_t
val bin_size_poly_t : 'a Bin_prot.Size.sizer -> 'a poly_t Bin_prot.Size.sizer
val bin_write_poly_t : 'a Bin_prot.Unsafe_write_c.writer ->
'a poly_t Bin_prot.Write_ml.writer
val bin_write_poly_t_ : 'a Bin_prot.Unsafe_write_c.writer ->
'a poly_t Bin_prot.Unsafe_write_c.writer
val bin_writer_poly_t : 'a Bin_prot.Type_class.writer ->
'a poly_t Bin_prot.Type_class.writer
val bin_read_poly_t : 'a Bin_prot.Unsafe_read_c.reader ->
'a poly_t Bin_prot.Read_ml.reader
val bin_read_poly_t_ : 'a Bin_prot.Unsafe_read_c.reader ->
'a poly_t Bin_prot.Unsafe_read_c.reader
val bin_read_poly_t__ : 'a Bin_prot.Unsafe_read_c.reader ->
(int -> 'a poly_t) Bin_prot.Unsafe_read_c.reader
val bin_reader_poly_t : 'a Bin_prot.Type_class.reader ->
'a poly_t Bin_prot.Type_class.reader
val bin_poly_t : 'a Bin_prot.Type_class.t -> 'a poly_t Bin_prot.Type_class.t
type
interval = t
type
bound
module T: Interval_intf.T
with type 'a bound = bound
with type 'a t = t
include Gen(T).S
val to_poly : t -> bound poly_t
module Set: sig
.. end