package derive
- Alphabetic
- Public
- All
Type Members
- trait CoproductInstances extends AnyRef
- trait CoproductSingletons [C <: Coproduct] extends AnyRef
- trait DerivedInstances 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 forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or aCoproduct
).Derives
Arbitrary[T]
instances forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or aCoproduct
).Use like val arbitrary: Arbitrary[T] = MkArbitrary[T].arbitrary or look up for an implicit
MkArbitrary[T]
. -
trait
MkCogen
[T] extends AnyRef
Derives
Cogen[T]
instances forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or aCoproduct
).Derives
Cogen[T]
instances forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or 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
- trait MkCoproductShrink [C <: Coproduct] extends AnyRef
- trait MkHListArbitrary [L <: HList] extends AnyRef
- trait MkHListCogen [L <: HList] extends AnyRef
- trait MkHListShrink [L <: HList] extends AnyRef
-
trait
MkShrink
[T] extends AnyRef
Derives
Shrink[T]
instances forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or aCoproduct
).Derives
Shrink[T]
instances forT
anHList
, aCoproduct
, a case class or an ADT (or more generally, a type representedGeneric
ally as anHList
or 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]
. - trait SingletonInstances extends AnyRef
-
trait
Singletons
[T] extends AnyRef
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.
Value Members
- object CoproductSingletons
- object HListSingletons
- object MkArbitrary
- object MkCogen
- object MkCoproductArbitrary
- object MkCoproductCogen
- object MkCoproductShrink
- object MkHListArbitrary
- object MkHListCogen
- object MkHListShrink
- object MkShrink
- object Singletons extends LowPrioritySingletons