Associative operation taking which combines two values.
Associative operation taking which combines two values.
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).
Return a
combined with itself n
times.
Return a
combined with itself n
times.
Return a
combined with itself more than once.
Return a
combined with itself more than once.
Bands are semigroups whose operation (i.e. combine) is also idempotent.