package int_repr

  1. Overview
  2. Docs

Module Int_repr.Uint16Source

Sourcetype t = uint16
Sourceval globalize : t -> t
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
Sourceval quickcheck_generator : t Base_quickcheck.Generator.t
Sourceval quickcheck_observer : t Base_quickcheck.Observer.t
Sourceval quickcheck_shrinker : t Base_quickcheck.Shrinker.t
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval signed : bool
Sourceval num_bits : int
Sourceval num_bytes : int
Sourceval zero : t
Sourceval min_value : t
Sourceval max_value : t
include Ppx_hash_lib.Hashable.S with type t := t
Sourceval hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
include Base.Comparisons.S with type t := t
include Base.Comparisons.Infix with type t := t
Sourceval (>=) : t -> t -> bool
Sourceval (<=) : t -> t -> bool
Sourceval (=) : t -> t -> bool
Sourceval (>) : t -> t -> bool
Sourceval (<) : t -> t -> bool
Sourceval (<>) : t -> t -> bool
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int

compare t1 t2 returns 0 if t1 is equal to t2, a negative integer if t1 is less than t2, and a positive integer if t1 is greater than t2.

Sourceval min : t -> t -> t
Sourceval max : t -> t -> t
Sourcemodule O : sig ... end
Sourceval of_base_int_trunc : Base.Int.t -> t
Sourceval of_base_int_exn : Base.Int.t -> t
Sourceval to_base_int : t -> Base.Int.t
Sourceval of_uint8 : uint8 -> t
Sourceval of_uint32_trunc : uint32 -> t
Sourceval of_uint32_exn : uint32 -> t
Sourceval of_uint63_trunc : uint63 -> t
Sourceval of_uint63_exn : uint63 -> t
Sourceval of_uint64_trunc : uint64 -> t
Sourceval of_uint64_exn : uint64 -> t
Sourceval of_int16_wrap : int16 -> t
Sourceval of_int16_exn : int16 -> t
OCaml

Innovation. Community. Security.