Discards the generator if the generated value does not satisfy the predicate.
Generates a value that satisfies a predicate.
Generates a value that satisfies a predicate.
We keep some state to avoid looping forever. If we trigger these limits then the whole generator is discarded.
Generates a list using a 'Range' to determine the length.
*******************************************************************
Generates a 'None' some of the time.
Throw away a generator's shrink tree.
Override the size parameter.
Override the size parameter. Returns a generator which uses the given size instead of the runtime-size parameter.
Adjust the size parameter by transforming it with the given function.
Apply a shrinking function to a generator.
Make a generator smaller by scaling its size parameter.
Generates a value that satisfies a predicate.
Generates a value that satisfies a predicate.
Equivalent to filter
and is used in for-comprehensions.
(Since version ) see corresponding Javadoc for more information.
Generator for random values of
A
.