base
Full standard library replacement for OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package base
-
base
-
-
base.base_internalhash_types
-
base.md5
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val default : t
This gives access to the default random state, allowing user code to share (and thereby mutate) the random state used by the main functions in Random
.
val make : int array -> t
Creates a new state and initializes it with the given seed.
val make_self_init : ?allow_in_tests:bool -> unit -> t
Creates a new state and initializes it with a system-dependent low-entropy seed.
These functions are the same as the basic functions, except that they use (and update) the given PRNG state instead of the default one.
val bits : t -> int
val int : t -> int -> int
val int32 : t -> int32 -> int32
val nativeint : t -> nativeint -> nativeint
val int64 : t -> int64 -> int64
val float : t -> float -> float
val int_incl : t -> int -> int -> int
val int32_incl : t -> int32 -> int32 -> int32
val nativeint_incl : t -> nativeint -> nativeint -> nativeint
val int64_incl : t -> int64 -> int64 -> int64
val float_range : t -> float -> float -> float
val bool : t -> bool
val char : t -> char
val ascii : t -> char
ON THIS PAGE
No table of contents