fun <A> arb(edgecases: List<A> = emptyList(), f: (RandomSource) -> Sequence<A>): Arb<A>
Creates a new Arb that performs no shrinking, and generates values from the given function that is invoked once.
fun <A> arb(shrinker: Shrinker<A>, f: (RandomSource) -> A): Arb<A>
Creates a new Arb that performs shrinking using the supplied shrinker and generates each value from successive invocations of the given function f.
fun <A> arb(shrinker: Shrinker<A>, edgecases: List<A> = emptyList(), f: (RandomSource) -> A): Arb<A>
Creates a new Arb with the given edgecases, that performs shrinking using the supplied shrinker and generates each value from successive invocations of the given function f.