package qcheck

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a t = Random.State.t -> 'a
val return : 'a -> 'a t
val int : int -> int t
val int_range : start:int -> stop:int -> int t
val small_int : int t
val bool : bool t
val char : char t
val alpha : char t
val float : float -> float t
val string : string t
val string_len : int t -> string t
val map : 'a t -> ('a -> 'b) -> 'b t
val list : ?len:int t -> 'a t -> 'a list t
val opt : 'a t -> 'a option t
val pair : 'a t -> 'b t -> ('a * 'b) t
val triple : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t
val quad : 'a t -> 'b t -> 'c t -> 'd t -> ('a * 'b * 'c * 'd) t
val list_repeat : int -> 'a t -> 'a list t
val array : ?len:int t -> 'a t -> 'a array t
val array_repeat : int -> 'a t -> 'a array t
val among : 'a list -> 'a t
val among_array : 'a array -> 'a t
val choose : 'a t list -> 'a t
val fix : ?max:int -> base:'a t -> ('a t -> 'a t) -> 'a t
val fix_depth : depth:int t -> base:'a t -> ('a t -> 'a t) -> 'a t
val lift : ('a -> 'b) -> 'a t -> 'b t
val lift2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
val lift3 : ('a -> 'b -> 'c -> 'd) -> 'a t -> 'b t -> 'c t -> 'd t
val lift4 : ('a -> 'b -> 'c -> 'd -> 'e) -> 'a t -> 'b t -> 'c t -> 'd t -> 'e t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val generate : ?n:int -> ?rand:Random.State.t -> 'a t -> 'a list
OCaml

Innovation. Community. Security.