zio.prelude.coherent.CovariantIdentityBoth
See theCovariantIdentityBoth companion object
trait CovariantIdentityBoth[F[_]] extends Covariant[F], IdentityBoth[F]
Attributes
- Companion
- object
- Source
- coherent.scala
- Graph
-
- Supertypes
-
trait IdentityBoth[F]trait AssociativeBoth[F]trait Covariant[F]trait Invariant[F]class Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Concrete methods
Attributes
- Source
- coherent.scala
Attributes
- Source
- coherent.scala
Attributes
- Source
- coherent.scala
Inherited methods
final def compose[G[_]](implicit g: Contravariant[G]): Contravariant[{ type lambda = [A] =>> F[G[A]]; }#<none>]
Compose covariant and contravariant functors.
Compose covariant and contravariant functors.
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
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
- Source
- Invariant.scala
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
Attributes
- Inherited from:
- Invariant
- Source
- Invariant.scala
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
Inherited and Abstract methods
The identity for combining two values of types F[A] and F[B] to produce an F[(A, B)].
The identity for combining two values of types F[A] and F[B] to produce an F[(A, B)].
Attributes
- Inherited from:
- IdentityBoth
- Source
- IdentityBoth.scala
Combines two values of types F[A] and F[B] to produce an F[(A, B)].
Combines two values of types F[A] and F[B] to produce an F[(A, B)].
Attributes
- Inherited from:
- AssociativeBoth
- Source
- AssociativeBoth.scala
Lift a function from A to B to a function from F[A] to F[B].
Lift a function from A to B to a function from F[A] to F[B].
Attributes
- Inherited from:
- Covariant
- Source
- Covariant.scala
In this article