MapAdditiveMonoid
algebra.instances.MapAdditiveMonoid
class MapAdditiveMonoid[K, V](implicit V: AdditiveSemigroup[V]) extends AdditiveMonoid[Map[K, V]]
Attributes
- Source
- map.scala
- Graph
-
- Supertypes
- Known subtypes
-
Members list
Value members
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- AdditiveMonoid
- Source
- Additive.scala
Tests if a
is zero.
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