InverseLaws

zio.prelude.laws.InverseLaws
object InverseLaws extends Lawful[EqualInverse]

Attributes

Graph
Supertypes
trait ZLawful[EqualInverse, Any]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def +[Caps1 <: (EqualInverse), R1](that: ZLawful[Caps1, R1]): ZLawful[Caps1, R1]

Attributes

Inherited from:
ZLawful

Concrete fields

The inverse law states that for some binary operator *, for all values a, the following must hold:

The inverse law states that for some binary operator *, for all values a, the following must hold:

a * a === identity

Attributes

lazy val laws: Laws[EqualInverse]

The set of all laws that instances of Inverse must satisfy.

The set of all laws that instances of Inverse must satisfy.

Attributes