File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,11 @@ function(oper)
194194 type := " Representation" ;
195195 fi ;
196196 fi ;
197+ elif IsOperation(FLAG1_FILTER(oper)) and IsOperation(FLAG1_FILTER(oper)) then
198+ # this is a setter for an and-filter
199+ type := " Setter" ;
197200 elif FLAG1_FILTER(oper) > 0 then
201+ # this is a setter for an elementary filter
198202 type := " Setter" ;
199203 elif Tester(oper) <> false then
200204 # oper is an attribute
Original file line number Diff line number Diff line change 5454gap> TypeOfOperation(IsFilter);
5555Error, < oper> must be an operation
5656
57- #
57+ # elementary filters: property
5858gap> TypeOfOperation(IsAbelian);
5959" Property"
6060gap> TypeOfOperation(HasIsAbelian);
6161" Filter"
6262gap> TypeOfOperation(SetIsAbelian);
6363" Setter"
64+
65+ # and-filters
66+ gap> TypeOfOperation(IsPGroup and IsAbelian);
67+ " Property"
68+ gap> TypeOfOperation(HasIsPGroup and HasIsAbelian);
69+ " Filter"
70+ gap> TypeOfOperation(Tester(IsPGroup and IsAbelian));
71+ " Filter"
72+ gap> TypeOfOperation(Setter(IsPGroup and IsAbelian));
73+ " Setter"
74+
75+ # kernel category
6476gap> TypeOfOperation(IsMutable);
6577" Category"
78+ gap> TypeOfOperation(Setter(IsMutable));
79+ " Setter"
80+
81+ # other
6682gap> TypeOfOperation(\+ );
6783" Operation"
6884gap> TypeOfOperation(Size);
6985" Attribute"
7086gap> TypeOfOperation(AbelianGroupCons);
7187" Constructor"
72- gap> TypeOfOperation(Setter(IS_MUTABLE_OBJ));
73- " Setter"
7488
7589#
You can’t perform that action at this time.
0 commit comments