IdentityBothLaws

zio.prelude.laws.IdentityBothLaws

Attributes

Graph
Supertypes
trait Invariant[[F[_]] =>> DeriveEqualIdentityBothInvariant[F], Equal, Any]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def +[CapsF1 <: ([x[_]] =>> DeriveEqualIdentityBothInvariant[x]), Caps1 <: (Equal), R1](that: Invariant[CapsF1, Caps1, R1]): Invariant[CapsF1, Caps1, R1]

Attributes

Inherited from:
Invariant

Concrete fields

The set of law laws that instances of IdentityBoth must satisfy.

The set of law laws that instances of IdentityBoth must satisfy.

Attributes

For all fa, both(identity, fa) is equivalent to fa.

For all fa, both(identity, fa) is equivalent to fa.

Attributes

For all fa, both(fa, identity) is equivalent to fa.

For all fa, both(fa, identity) is equivalent to fa.

Attributes