type t
include sig ... end
val compare : t ‑> t ‑> int
val sexp_of_t : t ‑> Sexplib.Sexp.t
val to_int : t ‑> int
to_int t must be >= 0, otherwise create_ok will raise.
to_int t
create_ok
val of_int_exn : int ‑> t