CommutativeZeroSemigroup

Companion
class
class SemigroupFunctions[[A] =>> CommutativeZeroSemigroup[A]]
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline

Access an implicit CommutativeZeroSemigroup[A].

Access an implicit CommutativeZeroSemigroup[A].

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

Create a CommutativeZeroSemigroup instance from the given absorbing value and function.

Create a CommutativeZeroSemigroup instance from the given absorbing value and function.

Inherited methods

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