Package

org.scalacheck

derive

Permalink

package derive

Visibility
  1. Public
  2. All

Type Members

  1. trait CoproductInstances extends AnyRef

    Permalink
  2. trait CoproductSingletons[C <: Coproduct] extends AnyRef

    Permalink
  3. trait DerivedInstances extends AnyRef

    Permalink
  4. trait FieldTypeInstances extends AnyRef

    Permalink
  5. trait HListInstances extends AnyRef

    Permalink
  6. trait HListSingletons[L <: HList] extends AnyRef

    Permalink
  7. trait LowPrioritySingletons extends AnyRef

    Permalink
  8. trait MkArbitrary[T] extends AnyRef

    Permalink

    Derives Arbitrary[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    Derives Arbitrary[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    Use like val arbitrary: Arbitrary[T] = MkArbitrary[T].arbitrary or look up for an implicit MkArbitrary[T].

  9. trait MkCogen[T] extends AnyRef

    Permalink

    Derives Cogen[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    Derives Cogen[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    Use like val cogen: Cogen[T] = MkCogen[T].cogen or look up for an implicit MkCogen[T].

  10. trait MkCoproductArbitrary[C <: Coproduct] extends AnyRef

    Permalink
  11. trait MkCoproductCogen[C <: Coproduct] extends AnyRef

    Permalink
  12. trait MkCoproductShrink[C <: Coproduct] extends AnyRef

    Permalink
  13. trait MkHListArbitrary[L <: HList] extends AnyRef

    Permalink
  14. trait MkHListCogen[L <: HList] extends AnyRef

    Permalink
  15. trait MkHListShrink[L <: HList] extends AnyRef

    Permalink
  16. trait MkShrink[T] extends AnyRef

    Permalink

    Derives Shrink[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    Derives Shrink[T] instances for T an HList, a Coproduct, a case class or an ADT (or more generally, a type represented Generically as an HList or a Coproduct).

    The instances derived here are more specific than the default ones derived for any type by Shrink.shrinkAny.

    Use like val shrink: Shrink[T] = MkShrink[T].shrink or look up for an implicit MkShrink[T].

  17. trait SingletonInstances extends AnyRef

    Permalink
  18. trait Singletons[T] extends AnyRef

    Permalink

    Type class providing the instances of T that can be built out of singletons only.

    Type class providing the instances of T that can be built out of singletons only.

    Used by the derived Shrink instances for ADTs in particular.

Ungrouped