package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> int
val to_int : t -> int

to_int t must be >= 0, otherwise create_ok will raise.

val of_int_exn : int -> t