o

zio.prelude.laws

CommutativeLaws

object CommutativeLaws extends Lawful[CommutativeEqual]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommutativeLaws
  2. ZLawful
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def +[Caps1[x] <: CommutativeEqual[x], R1 <: Any](that: ZLawful[Caps1, R1]): ZLawful[Caps1, R1]
    Definition Classes
    ZLawful
  2. lazy val commutativeLaw: Laws[CommutativeEqual]

    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
  3. lazy val laws: Laws[CommutativeEqual]

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

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

    Definition Classes
    CommutativeLaws → ZLawful