Package eu.bandm.tools.ops
Interface GenMonoid<A,M>
- Type Parameters:
M
- the carrier of the monoid.A
- the generating set.
- All Superinterfaces:
GenSemigroup<A,
,M> Monoid<M>
,Semigroup<M>
Monoid generated by a given set.
All elements of the monoid are accessible by combinations of
GenSemigroup.unit(A)
and
Semigroup.combine(M, M)
.
A typical instance is M for strings and A for characters.-
Method Summary
Methods inherited from interface eu.bandm.tools.ops.GenSemigroup
fold, makeIndex, unit
-
Method Details
-
fold
- Specified by:
fold
in interfaceGenSemigroup<A,
M>
-
zip
-