sig
val init : int -> unit
val full_init : int array -> unit
val self_init : unit -> unit
val bits : unit -> int
val int32 : Int32.t -> Int32.t
val nativeint : Nativeint.t -> Nativeint.t
val int64 : Int64.t -> Int64.t
val bool : unit -> bool
module State = Random.State
val get_state : unit -> State.t
val set_state : State.t -> unit
type state = Random.State.t
type 'a t = state -> 'a
type 'a random_gen = 'a t
val return : 'a -> 'a t
val flat_map : ('a -> 'b t) -> 'a t -> 'b t
val ( >>= ) : 'a t -> ('a -> 'b t) -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val ( >|= ) : 'a t -> ('a -> 'b) -> 'b t
val delay : (unit -> 'a t) -> 'a t
val choose : 'a t list -> 'a option t
val choose_exn : 'a t list -> 'a t
val choose_array : 'a t array -> 'a option t
val choose_return : 'a list -> 'a t
val replicate : int -> 'a t -> 'a list t
val sample_without_replacement :
?compare:('a -> 'a -> int) -> int -> 'a t -> 'a list t
val list_seq : 'a t list -> 'a list t
exception Pick_from_empty
val pick_list : 'a list -> 'a t
val pick_array : 'a array -> 'a t
val small_int : int t
val int : int -> int t
val int_range : int -> int -> int t
val small_float : float t
val float : float -> float t
val float_range : float -> float -> float t
val split : int -> (int * int) option t
val split_list : int -> len:int -> int list option t
val retry : ?max:int -> 'a option t -> 'a option t
val try_successively : 'a option t list -> 'a option t
val ( <?> ) : 'a option t -> 'a option t -> 'a option t
val fix :
?sub1:('a t -> 'a t) list ->
?sub2:('a t -> 'a t -> 'a t) list ->
?subn:(int t * ('a list t -> 'a t)) list -> base:'a t -> int t -> 'a t
val pure : 'a -> 'a t
val ( <*> ) : ('a -> 'b) t -> 'a t -> 'b t
val run : ?st:state -> 'a t -> 'a
val uniformity_test : ?size_hint:int -> int -> 'a t -> bool t
end