Test case generation.
Generator type
access field unGen
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 monadic generator to a generator of monadic values.
Generates some example values.
Generates some example values and prints them to IO.stdout.
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.
inherited from Applicative.*>
inherited from Applicative.<*
inherited from Monad.>>
inherited from Monad.join