zio.prelude.Zivariant
See theZivariant companion object
Abstract over type constructor with 3 parameters: on first as contravariant and on second and third as covariant.
Attributes
- Companion
- object
- Source
- Zivariant.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Zivariant[Z]
Members list
Value members
Abstract methods
def zimap[R, E, A, R1, E1, A1](r: (ZEnvironment[R1]) => ZEnvironment[R], e: E => E1, a: A => A1): (Z[R, E, A]) => Z[R1, E1, A1]
Attributes
- Source
- Zivariant.scala
Concrete methods
Attributes
- Source
- Zivariant.scala
Attributes
- Source
- Zivariant.scala
Attributes
- Source
- Zivariant.scala
def deriveFailureCovariant[R, A]: Covariant[{ type lambda = [E] =>> newtypeF.Type[Z[R, E, A]]; }#<none>]
Attributes
- Source
- Zivariant.scala
def dimap[R, E, A, RR, AA](r: (ZEnvironment[RR]) => ZEnvironment[R], a: A => AA): (Z[R, E, A]) => Z[RR, E, AA]
Attributes
- Source
- Zivariant.scala
Attributes
- Source
- Zivariant.scala
Attributes
- Source
- Zivariant.scala
def zimapCoherentWithMapAndContramap[R, E, A, R1, E1, A1](rea: Z[R, E, A], r: (ZEnvironment[R1]) => ZEnvironment[R], e: E => E1, a: A => A1)(implicit eq: Equal[Z[R1, E1, A1]]): Boolean
Attributes
- Source
- Zivariant.scala
def zimapComposition[R, E, A, R1, R2, E1, E2, A1, A2](rea: Z[R, E, A], r2: (ZEnvironment[R2]) => ZEnvironment[R1], r1: (ZEnvironment[R1]) => ZEnvironment[R], e1: E => E1, e2: E1 => E2, a1: A => A1, a2: A1 => A2)(implicit eq: Equal[Z[R2, E2, A2]]): Boolean
Attributes
- Source
- Zivariant.scala
Attributes
- Source
- Zivariant.scala
In this article