-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FiltersObj and FiltersType functions
* FiltersType returns the list of filters set in the passed type * FiltersObj does the same for the passed object
- Loading branch information
Showing
5 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
############################################################################# | ||
## | ||
#W type.gd GAP library | ||
## | ||
## | ||
#Y Copyright (C) 2016 The GAP Group | ||
## | ||
## This file declares some additional functionality relating to types and | ||
## families. | ||
## | ||
|
||
############################################################################# | ||
## | ||
#O FiltersType( <type> ) | ||
#O FiltersObj( <type> ) | ||
## | ||
## list of filters of a type | ||
## | ||
## <#GAPDoc Label="FiltersType"> | ||
## <ManSection> | ||
## <Oper Name="FiltersType" Arg='type'/> | ||
## <Oper Name="FiltersObj" Arg='object'/> | ||
## | ||
## <Description> | ||
## returns a list of the filters in the type <A>type</A>, or in the | ||
## type of the object <A>object</A> respectively. | ||
## <Example><![CDATA[ | ||
## gap> FiltersObj(fail); | ||
## [ <Category "IsBool">, <Representation "IsInternalRep"> ] | ||
## gap> FiltersType(TypeOfTypes); | ||
## [ <Representation "IsPositionalObjectRep">, <Category "IsType">, <Representation "IsTypeDefaultRep"> ] | ||
## ]]></Example> | ||
## </Description> | ||
## </ManSection> | ||
## <#/GAPDoc> | ||
## | ||
DeclareOperation( "FiltersType", [ IsType ] ); | ||
DeclareOperation( "FiltersObj", [ IsObject ] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters