GenPoly

object GenPoly
Companion:
class
class Object
trait Matchable
class Any
GenPoly.type

Value members

Concrete methods

def apply[A](gen: Gen[Any, A]): GenPoly

Constructs an instance of TypeWith using the specified value, existentially hiding the underlying type.

Constructs an instance of TypeWith using the specified value, existentially hiding the underlying type.

def boolean(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and a Ordering exist for booleans.

Provides evidence that instances of Gen and a Ordering exist for booleans.

def byte(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for bytes.

Provides evidence that instances of Gen and Ordering exist for bytes.

def char(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for characters.

Provides evidence that instances of Gen and Ordering exist for characters.

def double(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for doubles.

Provides evidence that instances of Gen and Ordering exist for doubles.

def float(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for floats.

Provides evidence that instances of Gen and Ordering exist for floats.

def genPoly(implicit trace: Trace): Gen[Any, GenPoly]
def int(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for integers.

Provides evidence that instances of Gen and Ordering exist for integers.

def list(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[List[T]] and Ordering[List[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[List[T]] and Ordering[List[T]] exist for any type for which Gen[T] and Ordering[T] exist.

def long(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for longs.

Provides evidence that instances of Gen and Ordering exist for longs.

def option(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[Option[T]] and Ordering[Option[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[Option[T]] and Ordering[Option[T]] exist for any type for which Gen[T] and Ordering[T] exist.

def short(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for shorts.

Provides evidence that instances of Gen and Ordering exist for shorts.

def string(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for strings.

Provides evidence that instances of Gen and Ordering exist for strings.

def unit(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen and Ordering exist for the unit value.

Provides evidence that instances of Gen and Ordering exist for the unit value.

def vector(poly: GenPoly)(implicit trace: Trace): GenPoly

Provides evidence that instances of Gen[Vector[T]] and Ordering[Vector[T]] exist for any type for which Gen[T] and Ordering[T] exist.

Provides evidence that instances of Gen[Vector[T]] and Ordering[Vector[T]] exist for any type for which Gen[T] and Ordering[T] exist.