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
The set of all laws that instances of Commutative
must satisfy.
The set of all laws that instances of Commutative
must satisfy.