CommutativeLaws

zio.prelude.laws.CommutativeLaws

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
ZLawful

Concrete fields

The commutative law states that for some binary operator *, for all values a1 and a2, the following must hold:

The commutative law states that for some binary operator *, for all values a1 and a2, the following must hold:

a1 * a2 === a2 * a1

Attributes

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

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

Attributes