GenNumericPoly

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](gen: Gen[Random & Sized, A], num: Numeric[A]): GenNumericPoly

Constructs an instance of GenIntegralPoly using the specified Gen and Numeric instances, existentially hiding the underlying type.

Constructs an instance of GenIntegralPoly using the specified Gen and Numeric instances, existentially hiding the underlying type.

Concrete fields

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

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

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

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

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

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

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

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

A generator of polymorphic values constrainted to have a Numeric instance.

A generator of polymorphic values constrainted to have a Numeric instance.

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

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

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

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

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

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