package int_repr

  1. Overview
  2. Docs
type t = uint8
include T with type t := t
include Ppx_compare_lib.Comparable.S with type t := t
include Ppx_compare_lib.Equal.S with type t := t
include Ppx_hash_lib.Hashable.S with type t := t
include Ppx_quickcheck_runtime.Quickcheckable.S with type t := t
val quickcheck_generator : t Base_quickcheck.Generator.t
val quickcheck_observer : t Base_quickcheck.Observer.t
val quickcheck_shrinker : t Base_quickcheck.Shrinker.t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
include Typerep_lib.Typerepable.S with type t := t
val typename_of_t : t Typerep_lib.Typename.t
val signed : bool
val num_bits : int
val num_bytes : int
val zero : t
val min_value : t
val max_value : t
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
include Base.Comparisons.S with type t := t
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (<>) : t -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val min : t -> t -> t
val max : t -> t -> t
module O : sig ... end
val of_base_int_trunc : Base.Int.t -> t
val of_base_int_exn : Base.Int.t -> t
val to_base_int : t -> Base.Int.t
val of_uint16_trunc : uint16 -> t
val of_uint16_exn : uint16 -> t
val of_uint32_trunc : uint32 -> t
val of_uint32_exn : uint32 -> t
val of_uint63_trunc : uint63 -> t
val of_uint63_exn : uint63 -> t
val of_uint64_trunc : uint64 -> t
val of_uint64_exn : uint64 -> t
val of_int8_wrap : int8 -> t
val of_int8_exn : int8 -> t
OCaml

Innovation. Community. Security.