Packages

object TAListGen

Source
TAListGen.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TAListGen
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def arbFn1TAList[A](implicit cogenA: Cogen[A], arbA: Arbitrary[A]): Arbitrary[TAList[Function1, A, A]]

    An Arbitrary instance wrapping genFn1TAListOfN.

  2. implicit def arbFn1TANonEmptyList[A, B](implicit cogenA: Cogen[A], arbB: Arbitrary[B]): Arbitrary[TANonEmptyList[Function1, A, B]]

    An Arbitrary instance wrapping genFn1TANonEmptyListOfN.

  3. 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.

  4. 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)

  5. def genTANonEmptyList[F[_, _], S[_], A, B](generator: TAListGenerator[F, S, A, B]): Gen[TANonEmptyList[F, A, B]]