zio.prelude.Equivalence
See theEquivalence companion trait
object Equivalence
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Equivalence.type
Members list
Value members
Concrete methods
Constructs an equivalence between a right-associated nested either, and a left-associated nested either.
Constructs an equivalence between a right-associated nested either, and a left-associated nested either.
Attributes
def fromPartial[A, B, E1, E2](toPartial0: A => Either[E1, B], fromPartial0: B => Either[E2, A])(ev1: E1 <:< Nothing, ev2: E2 <:< Nothing): Equivalence[A, B]
Constructs the identity equivalence, which just says that any type is equivalent to itself and is trivially true.
Constructs the identity equivalence, which just says that any type is equivalent to itself and is trivially true.
Attributes
Constructs an equivalence between a right-associated nested tuple, and a left-associated nested tuple.
Constructs an equivalence between a right-associated nested tuple, and a left-associated nested tuple.
Attributes
In this article