package batteries

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Incubator.Private_state_enumsSource

Sourcemodule State : sig ... end
Sourceval 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.

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

Innovation. Community. Security.