zio.prelude.coherent.CommutativeIdentity
See theCommutativeIdentity companion object
trait CommutativeIdentity[A] extends Commutative[A], Identity[A]
Attributes
- Companion
- object
- Source
- coherent.scala
- Graph
-
- Supertypes
-
trait Identity[A]trait Commutative[A]trait Associative[A]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Returns a new Commutative instance that describes the same binary operator but applied in reverse order. Since the operation is commutative this instance is guaranteed to return the same results as the original instance but one order of combination or the other may be more efficient in certain cases.
Returns a new Commutative instance that describes the same binary operator but applied in reverse order. Since the operation is commutative this instance is guaranteed to return the same results as the original instance but one order of combination or the other may be more efficient in certain cases.
Attributes
- Inherited from:
- Commutative
- Source
- Commutative.scala
Attributes
- Inherited from:
- Associative
- Source
- Associative.scala
Attributes
- Definition Classes
- Inherited from:
- Identity
- Source
- Identity.scala
Attributes
- Inherited from:
- Associative
- Source
- Associative.scala
Inherited and Abstract methods
Attributes
- Inherited from:
- Associative
- Source
- Associative.scala
The identity element.
In this article