SetSemiring
algebra.instances.SetSemiring
class SetSemiring[A] extends Semiring[Set[A]]
Attributes
- Source
- set.scala
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- AdditiveCommutativeMonoid
- Source
- Additive.scala
Tests if a
is zero.
Attributes
- Inherited from:
- MultiplicativeSemigroup
- Source
- Multiplicative.scala
Attributes
- Inherited from:
- MultiplicativeSemigroup
- Source
- Multiplicative.scala
Given a sequence of as
, compute the sum.
Given a sequence of as
, compute the sum.
Attributes
- Inherited from:
- AdditiveMonoid
- Source
- Additive.scala
Attributes
- Definition Classes
- Inherited from:
- AdditiveMonoid
- Source
- Additive.scala
Given a sequence of as
, combine them and return the total.
Given a sequence of as
, combine them and return the total.
If the sequence is empty, returns None. Otherwise, returns Some(total).
Attributes
- Inherited from:
- MultiplicativeSemigroup
- Source
- Multiplicative.scala
Given a sequence of as
, combine them and return the total.
Given a sequence of as
, combine them and return the total.
If the sequence is empty, returns None. Otherwise, returns Some(total).
Attributes
- Definition Classes
- Inherited from:
- AdditiveMonoid
- Source
- Additive.scala
In this article