zio.prelude.coherent.CovariantDeriveEqualIdentityFlatten
See theCovariantDeriveEqualIdentityFlatten companion object
trait CovariantDeriveEqualIdentityFlatten[F[_]] extends IdentityFlatten[F], AssociativeFlattenCovariantDeriveEqual[F]
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Covariant[F]trait Invariant[F]trait IdentityFlatten[F]trait AssociativeFlatten[F]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
The identity element.
final def compose[G[_]](implicit g: Contravariant[G]): Contravariant[{ type lambda = [A] =>> F[G[A]]; }#<none>]
Compose covariant and contravariant functors.
Compose two covariant functors.
Compose two invariant functors.
def compositionLaw[A, B, C](fa: F[A], f: Equivalence[A, B], g: Equivalence[B, C])(implicit equal: Equal[F[C]]): Boolean
Attributes
- Inherited from:
- Invariant
Flattens a value of type F[F[A]] to produce an F[A].
Attributes
- Inherited from:
- Invariant
Attributes
- Inherited from:
- Covariant
Lift a function from A to B to a function from F[A] to F[B].
In this article