package stdcompat

  1. Overview
  2. Docs
module State = Stdlib.Random.State
  • since 4.14.0: module State = Random.State
val bits32 : unit -> Stdlib.Int32.t
  • since 4.14.0: val bits32 : unit -> Int32.t
val bits64 : unit -> Stdlib.Int64.t
  • since 4.14.0: val bits64 : unit -> Int64.t
val nativebits : unit -> Stdlib.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 : Stdlib.Int32.t -> Stdlib.Int32.t

Alias for Random.int32

val nativeint : Stdlib.Nativeint.t -> Stdlib.Nativeint.t
val int64 : Stdlib.Int64.t -> Stdlib.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.