package extprot

  1. Overview
  2. Docs
val (@@) : ('a -> 'b) -> 'a -> 'b
module RS = Random.State
module R = Random
module type RANDOM_MONAD = sig ... end
module Rand : sig ... end
type 'a t = 'a Rand.t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val rand_bool : bool t
val rand_char : char t
val rand_integer : int -> int t
val rand_int : int t
val rand_int64 : Int64.t t
val rand_float : float t
val rand_string : int t -> string t
val rand_list : int t -> 'a t -> 'a list t
val rand_array : int t -> 'a t -> 'a array t
val rand_choice : 'a t list -> 'a t
val rand_tuple2 : 'a t -> 'b t -> ('a * 'b) t
val rand_tuple3 : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t
val rand_tuple4 : 'a t -> 'b t -> 'c t -> 'd t -> ('a * 'b * 'c * 'd) t
val rand_tuple5 : 'a t -> 'b t -> 'c t -> 'd t -> 'e t -> ('a * 'b * 'c * 'd * 'e) t
val rand_tuple6 : 'a t -> 'b t -> 'c t -> 'd t -> 'e t -> 'f t -> ('a * 'b * 'c * 'd * 'e * 'f) t
val rand_tuple7 : 'a t -> 'b t -> 'c t -> 'd t -> 'e t -> 'f t -> 'g t -> ('a * 'b * 'c * 'd * 'e * 'f * 'g) t
val run : ?state:RS.t -> 'a t -> 'a
OCaml

Innovation. Community. Security.