fun <A> arb(edgecases: List<A> = emptyList(), f: (RandomSource) -> A): Arb<A>
Creates a new Arb that performs no shrinking, and generates each value from successive invocations of the given function f.
fun <A> arb(shrinker: Shrinker<A>, f: (RandomSource) -> A): Arb<A>fun <A> arb(shrinker: Shrinker<A>, edgecases: List<A> = emptyList(), 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.