Monoid
Trait for types that form a monoid, and its functions.
Trait for types that form a monoid.
A monoid supports an associative binary operation combine and a neutral element empty.
Sub-traits
Instances
Signatures
Trait Definitions
Module Definitions
def fold(t: t[a]): a \ Foldable.Aef[t] with Foldable[t], Monoid[a]§ SourceReturns the result of applying combine to all the elements in t, using empty as the initial value.