package stdcompat

  1. Overview
  2. Docs
module State = Random.State
  • since 4.14.0: module State = Random.State
val bits32 : unit -> Int32.t
  • since 4.14.0: val bits32 : unit -> Int32.t
val bits64 : unit -> Int64.t
  • since 4.14.0: val bits64 : unit -> Int64.t
val nativebits : unit -> Nativeint.t
  • since 4.14.0: val nativebits : unit -> Nativeint.t
val full_int : int -> int
  • since 4.13.0: val full_int : int -> int
val init : int -> unit

Alias for Random.init

val full_init : int array -> unit
val self_init : unit -> unit
val bits : unit -> int

Alias for Random.bits

val int : int -> int

Alias for Random.int

val int32 : Int32.t -> Int32.t

Alias for Random.int32

val nativeint : Nativeint.t -> Nativeint.t
val int64 : Int64.t -> Int64.t

Alias for Random.int64

val float : float -> float

Alias for Random.float

val bool : unit -> bool

Alias for Random.bool

val get_state : unit -> State.t
val set_state : State.t -> unit
OCaml

Innovation. Community. Security.