CommutativeSemigroup

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline

Access an implicit CommutativeSemigroup[A].

Access an implicit CommutativeSemigroup[A].

@inline
def instance[A](cmb: (A, A) => A): CommutativeSemigroup[A]

Create a CommutativeSemigroup instance from the given function.

Create a CommutativeSemigroup instance from the given function.

Inherited methods

def combine[@specialized(Int, Long, Float, Double) A](x: A, y: A)(ev: CommutativeSemigroup[A]): A
Inherited from
SemigroupFunctions
def combineAllOption[A](as: IterableOnce[A])(ev: CommutativeSemigroup[A]): Option[A]
Inherited from
SemigroupFunctions
def combineN[@specialized(Int, Long, Float, Double) A](a: A, n: Int)(ev: CommutativeSemigroup[A]): A
Inherited from
SemigroupFunctions
def isCommutative[A](ev: CommutativeSemigroup[A]): Boolean
Inherited from
SemigroupFunctions
def isIdempotent[A](ev: CommutativeSemigroup[A]): Boolean
Inherited from
SemigroupFunctions
def maybeCombine[@specialized(Int, Long, Float, Double) A](x: A, oy: Option[A])(ev: CommutativeSemigroup[A]): A
Inherited from
SemigroupFunctions
def maybeCombine[@specialized(Int, Long, Float, Double) A](ox: Option[A], y: A)(ev: CommutativeSemigroup[A]): A
Inherited from
SemigroupFunctions