|
|
|
|
|
|
Synopsis |
|
|
|
|
Test case generation
|
|
Generator type
|
|
|
|
|
Primitive generator combinators
|
|
|
Modifies a generator using an integer seed.
|
|
|
Used to construct generators that depend on the size parameter.
|
|
|
Overrides the size parameter. Returns a generator which uses
the given size instead of the runtime-size parameter.
|
|
|
Generates a random element in the given inclusive range.
|
|
|
Promotes a generator to a generator of monadic values.
|
|
|
Generates some example values.
|
|
|
Generates some example values and prints them to stdout.
|
|
Common generator combinators
|
|
|
Generates a value that satisfies a predicate.
|
|
|
Tries to generate a value that satisfies a predicate.
|
|
|
Randomly uses one of the given generators. The input list
must be non-empty.
|
|
|
Chooses one of the given generators, with a weighted random distribution.
The input list must be non-empty.
|
|
|
Generates one of the given values. The input list must be non-empty.
|
|
|
Takes a list of elements of increasing size, and chooses
among an initial segment of the list. The size of this initial
segment increases with the size parameter.
The input list must be non-empty.
|
|
|
Generates a list of random length. The maximum length depends on the
size parameter.
|
|
|
Generates a non-empty list of random length. The maximum length
depends on the size parameter.
|
|
|
Generates a list of the given length.
|
|
Produced by Haddock version 2.6.0 |