IdempotentLaws

zio.prelude.laws.IdempotentLaws

Attributes

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

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
ZLawful

Concrete fields

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

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

a * a === a

Attributes

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

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

Attributes