org.scalactic.algebra
Typeclass trait representing a binary operation that obeys the commutative law.
The commutative law states that changing the order of the operands to a binary operation does not change the result, i.e. given values a, b
a
b
(a combine b) === (b combine a)
A binary operation that obeys the commutative law.
See the main documentation for this trait for more detail.
Typeclass trait representing a binary operation that obeys the commutative law.
The commutative law states that changing the order of the operands to a binary operation does not change the result, i.e. given values
a
,b