package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module State : sig ... end
val enum_bits : unit -> int BatEnum.t

These enumerations are built on a copy of the global RNG state. To keep successive constructions from using the same RNG state, when any of these functions is called, the global RNG state is perturbed by using its current internal state as seed to construct a new state.

val enum_int : int -> int BatEnum.t
val enum_bool : unit -> bool BatEnum.t
val enum_float : float -> float BatEnum.t
val enum_int32 : Stdlib.Int32.t -> Stdlib.Int32.t BatEnum.t
val enum_int64 : Stdlib.Int64.t -> Stdlib.Int64.t BatEnum.t
val enum_nativeint : Stdlib.Nativeint.t -> Stdlib.Nativeint.t BatEnum.t
val enum_char : unit -> char BatEnum.t
val bits32 : unit -> Stdlib.Int32.t
val bits64 : unit -> Stdlib.Int64.t
val nativebits : unit -> Stdlib.Nativeint.t
OCaml

Innovation. Community. Security.