Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint all files in gap/* + PackageInfo.g, and make some simplifications #29

Closed
wants to merge 17 commits into from
Prev Previous commit
Next Next commit
Linting
  • Loading branch information
james-d-mitchell committed Jan 14, 2024
commit 23a0b0a087b84b4f041e436982426c6ff089c41f
24 changes: 11 additions & 13 deletions gap/coclass.gd
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#############################################################################
##
## coclass.gd Smallsemi - a GAP library of semigroups
## Copyright (C) 2008-2014 Andreas Distler & James D. Mitchell
## Copyright (C) 2008-2024 Andreas Distler & James D. Mitchell
##
## Licensing information can be found in the README file of this package.
##
#############################################################################

###########################################################################
##
## <#GAPDoc Label="NilpotentSemigroupsByCoclass">
## <ManSection>
## <Func Name="NilpotentSemigroupsByCoclass" Arg="n, d[, r]"/>
Expand All @@ -19,23 +17,23 @@
## is given then only semigroups of rank <A>r</A> are returned. The semigroups
## in the list are given by finite presentations.
## <Example><![CDATA[
## gap> NilpotentSemigroupsByCoclass(5,1);
## gap> NilpotentSemigroupsByCoclass(5, 1);
## [ <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]> ]
## gap> NilpotentSemigroupsByCoclass(7,0);
## gap> NilpotentSemigroupsByCoclass(7, 0);
## [ <fp semigroup on the generators [ s1 ]> ]
## gap> NilpotentSemigroupsByCoclass(4,2,3);
## gap> NilpotentSemigroupsByCoclass(4, 2, 3);
## [ <fp semigroup on the generators [ s1, s2, s3 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
##

DeclareGlobalFunction("NilpotentSemigroupsByCoclass");

###########################################################################
Expand All @@ -50,7 +48,7 @@ DeclareGlobalFunction("NilpotentSemigroupsByCoclass");
## <Example><![CDATA[
## gap> NilpotentSemigroupsCoclass0(513);
## [ <fp semigroup on the generators [ s1 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down Expand Up @@ -78,7 +76,7 @@ DeclareGlobalFunction("NilpotentSemigroupsCoclass0");
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand All @@ -98,7 +96,7 @@ DeclareGlobalFunction("NilpotentSemigroupsCoclass1");
## [ ]
## gap> NilpotentSemigroupsCoclass2(4);
## [ <fp semigroup on the generators [ s1, s2, s3 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down Expand Up @@ -131,7 +129,7 @@ DeclareGlobalFunction("IsomorphicFpSemigroup");
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]>,
## <fp semigroup on the generators [ s1, s2 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand All @@ -152,7 +150,7 @@ DeclareGlobalFunction("NilpotentSemigroupsCoclass2Rank2");
## [ ]
## gap> NilpotentSemigroupsCoclass2Rank3(4);
## [ <fp semigroup on the generators [ s1, s2, s3 ]> ]
## ]]></Example> <!-- properties.tst -->
## ]]></Example>
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down
Loading