package derive
- Alphabetic
- Public
- All
Type Members
- trait CoproductInstances extends AnyRef
- trait CoproductInstances0 extends CoproductInstances
- trait CoproductSingletons[C <: Coproduct] extends AnyRef
- trait DerivedInstances extends AnyRef
- trait EnumerationInstances extends AnyRef
- trait FieldTypeInstances extends AnyRef
- trait HListInstances extends AnyRef
- trait HListSingletons[L <: HList] extends AnyRef
- trait LowPrioritySingletons extends AnyRef
-
trait
MkArbitrary[T] extends AnyRef
Derives
Arbitrary[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).Derives
Arbitrary[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).Use like val arbitrary: Arbitrary[T] = MkArbitrary[T].arbitrary or look up for an implicit
MkArbitrary[T]. - abstract class MkArbitraryLowPriority extends AnyRef
-
trait
MkCogen[T] extends AnyRef
Derives
Cogen[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).Derives
Cogen[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).Use like val cogen: Cogen[T] = MkCogen[T].cogen or look up for an implicit
MkCogen[T]. - trait MkCoproductArbitrary[C <: Coproduct] extends AnyRef
- trait MkCoproductCogen[C <: Coproduct] extends AnyRef
- abstract class MkCoproductShrink0[C <: Coproduct] extends AnyRef
- trait MkHListArbitrary[L <: HList] extends AnyRef
- trait MkHListCogen[L <: HList] extends AnyRef
- trait MkHListShrink[L <: HList] extends AnyRef
- trait MkRecursiveCoproductArbitrary[C <: Coproduct] extends AnyRef
-
trait
MkShrink[T] extends AnyRef
Derives
Shrink[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).Derives
Shrink[T]instances forTanHList, aCoproduct, a case class or an ADT (or more generally, a type representedGenerically as anHListor aCoproduct).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]. - sealed abstract class Recursive[T] extends AnyRef
- trait SingletonInstances extends AnyRef
-
trait
Singletons[T] extends AnyRef
Type class providing the instances of
Tthat can be built out of singletons only.Type class providing the instances of
Tthat can be built out of singletons only.Used by the derived Shrink instances for ADTs in particular.
-
trait
MkCoproductShrink[C <: Coproduct] extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 1.1.7) See MkCoproductShrink0 instead, which has no quadratic implicit lookups
Value Members
- object CoproductSingletons
- object GenExtra
- object HListSingletons
- object MkArbitrary extends MkArbitraryLowPriority
- object MkCogen
- object MkCoproductArbitrary
- object MkCoproductCogen
- object MkCoproductShrink
- object MkCoproductShrink0
- object MkHListArbitrary
- object MkHListCogen
- object MkHListShrink
- object MkRecursiveCoproductArbitrary
- object MkShrink
- object Recursive
- object Singletons extends LowPrioritySingletons