package orgeat

  1. Overview
  2. Docs
type 'a t = Random.State.t -> 'a
val gen : 'a -> 'b -> int * unit
module Boltzmann (K : Scalar.S) : sig ... end
val bool : Random.State.t -> bool
val int : ?max:int -> Random.State.t -> int
val int32 : ?max:Int32.t -> Random.State.t -> Int32.t
val int64 : ?max:Int64.t -> Random.State.t -> Int64.t
val z_int : ?max:Int64.t -> Random.State.t -> Z.t
val n_int : ?max:Int64.t -> Random.State.t -> Z.t
val ranged_int : int -> int -> Random.State.t -> int
val ranged_float : float -> float -> Random.State.t -> float
val float : ?max:float -> Random.State.t -> float
val bytes_fixed : int -> Random.State.t -> bytes
val bytes_var : ?max_size:int -> Random.State.t -> bytes
val string_fixed : int -> Random.State.t -> string
val string_var : ?max_size:int -> Random.State.t -> string
OCaml

Innovation. Community. Security.