ZeroMonoid

object ZeroMonoid extends ZeroMonoidFunctions[[A] =>> ZeroMonoid[A]]
Companion
class
class MonoidFunctions[[A] =>> ZeroMonoid[A]]
class SemigroupFunctions[[A] =>> ZeroMonoid[A]]
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline
final def apply[A](ev: ZeroMonoid[A]): ZeroMonoid[A]

Access an implicit ZeroMonoid[A].

Access an implicit ZeroMonoid[A].

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

Create a ZeroMonoid instance from the given function and empty and absorbing values.

Create a ZeroMonoid instance from the given function and empty and absorbing values.

Inherited methods

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