object TAListGen
- Source
- TAListGen.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TAListGen
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
implicit
def
arbFn1TAList[A](implicit cogenA: Cogen[A], arbA: Arbitrary[A]): Arbitrary[TAList[Function1, A, A]]
An
Arbitrary
instance wrapping genFn1TAListOfN. -
implicit
def
arbFn1TANonEmptyList[A, B](implicit cogenA: Cogen[A], arbB: Arbitrary[B]): Arbitrary[TANonEmptyList[Function1, A, B]]
An
Arbitrary
instance wrapping genFn1TANonEmptyListOfN. -
def
genFn1TAListOfN[A](size: Int, cogenA: Cogen[A], genA: Gen[A]): Gen[TAList[Function1, A, A]]
Similar to genFn1TANonEmptyListOfN, but since the list can be empty, the input type must match the output type.
-
def
genFn1TANonEmptyListOfN[A, B](size: Int, cogenA: Cogen[A], genB: Gen[B]): Gen[TANonEmptyList[Function1, A, B]]
A generator for a non-empty type-aligned list of functions.
A generator for a non-empty type-aligned list of functions.
- size
the number of elements to have in the list (must be at least 1)
- def genTANonEmptyList[F[_, _], S[_], A, B](generator: TAListGenerator[F, S, A, B]): Gen[TANonEmptyList[F, A, B]]