Bounded.Int31Allows to build interval of built-in OCaml int integers. The encoding used is Data_encoding.int31 regardless of the actual bounds.
module B : BOUNDS with type ocaml_type := intinclude BOUNDS with type ocaml_type := intval encoding : t Data_encoding.tA (partial) encoding of the datatype. If the encoded value is out of bounds, an exception may be raised. See Data_encoding.conv_with_guard.
val pp : Format.formatter -> t -> unitA pretty-printer for values of type t.
val to_value : t -> intto_value t is a projection to the OCaml representation of the bounded value t.