![[MONOiD]](monoid.png)
Monoid( list )
Monoid( list , id )
Monoid returns the monoid generated by the list list of monoid
elements. If present, id must be the identity of this monoid.
gap> Monoid( [ Transformation( [ 1, 2, 1 ] ) ],
> IdentityTransformation( 3 ) );
Monoid( [ Transformation( [ 1, 2, 1 ] ) ] )
Monoid( gen1, gen2, ... )
In this form Monoid returns the monoid generated by the monoid elements
gen1, gen2, ...
gap> Monoid( Transformation( [ 1, 2, 1 ] ) );
Monoid( [ Transformation( [ 1, 2, 1 ] ) ] )
Version 2.4 (May 1998)