AdditiveCommutativeSemigroup

algebra.ring.AdditiveCommutativeSemigroup$
See theAdditiveCommutativeSemigroup companion trait

Attributes

Companion:
trait
Source:
Additive.scala
Graph
Supertypes
Self type

Members list

Concise view

Value members

Concrete methods

This method converts an additive instance into a generic instance.

This method converts an additive instance into a generic instance.

Given an implicit AdditiveCommutativeSemigroup[A], this method returns a CommutativeSemigroup[A].

Attributes

Source:
Additive.scala

Attributes

Source:
Additive.scala

Inherited methods

def plus[A](x: A, y: A)(implicit ev: AdditiveCommutativeSemigroup[A]): A

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala
def sumN[A](a: A, n: Int)(implicit ev: AdditiveCommutativeSemigroup[A]): A

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala
def trySum[A](as: IterableOnce[A])(implicit ev: AdditiveCommutativeSemigroup[A]): Option[A]

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala