/usr/share/gap/lib/pperm.g is in gap-libs 4r7p9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | DeclareCategoryKernel("IsPartialPerm", IsMultiplicativeElementWithInverse
and IsAssociativeElement, IS_PPERM);
DeclareCategoryCollections( "IsPartialPerm" );
DeclareCategoryCollections( "IsPartialPermCollection" );
BIND_GLOBAL("PartialPermFamily", NewFamily("PartialPermFamily",
IsPartialPerm, CanEasilySortElements, CanEasilySortElements));
DeclareRepresentation( "IsPPerm2Rep", IsInternalRep, [] );
DeclareRepresentation( "IsPPerm4Rep", IsInternalRep, [] );
BIND_GLOBAL("TYPE_PPERM2", NewType(PartialPermFamily,
IsPartialPerm and IsPPerm2Rep));
BIND_GLOBAL("TYPE_PPERM4", NewType(PartialPermFamily,
IsPartialPerm and IsPPerm4Rep));
|