o

zio.prelude.laws

AssociativeLaws

object AssociativeLaws extends Lawful[AssociativeEqual]

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

Value Members

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

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

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

    (a1 * a2) * a3 === a1 * (a2 * a3)
  3. lazy val laws: Laws[AssociativeEqual]

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

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

    Definition Classes
    AssociativeLaws → ZLawful