Skip to content

Commit 6254a80

Browse files
authored
Merge pull request #206 from mohamed-barakat/prepare1
Second preparation for the "functional" refactoring
2 parents dabe29a + de1e991 commit 6254a80

File tree

8 files changed

+20
-19
lines changed

8 files changed

+20
-19
lines changed

doc/Doc.autodoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070

7171
@Chapter The category of skeletal finite sets
7272

73-
@Section Skeletal GAP Categories
74-
@Section Skeletal Attributes
75-
@Section Skeletal Constructors
76-
@Section Skeletal Tools
77-
@Section Skeletal Examples
73+
@Section GAP Categories
74+
@Section Attributes
75+
@Section Constructors
76+
@Section Tools
77+
@Section Examples
7878

7979
@Subsection SkeletalIsHomSetInhabited
8080
@InsertChunk SkeletalIsHomSetInhabited

examples/PrecompileCategoryOfSkeletalFinSets.g renamed to examples/PrecompileCategoryOfSkeletalFinSetsWithMorphismsGivenByLists.g

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ ReadPackage( "FinSetsForCAP", "gap/CompilerLogic.gi" );
1616

1717
category_constructor := {} -> CategoryOfSkeletalFinSets( );;
1818
given_arguments := [ ];;
19-
compiled_category_name := "CategoryOfSkeletalFinSetsPrecompiled";;
19+
compiled_category_name :=
20+
"CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled";;
2021
package_name := "FinSetsForCAP";;
2122
primitive_operations :=
2223
ListPrimitivelyInstalledOperationsOfCategory(
@@ -39,7 +40,7 @@ CapJitPrecompileCategoryAndCompareResult(
3940
number_of_objectified_morphisms_in_data_structure_of_morphism := 1
4041
);;
4142

42-
CategoryOfSkeletalFinSetsPrecompiled( );
43+
CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled( );
4344
#! SkeletalFinSets
4445

4546
cat := CategoryOfSkeletalFinSets( );

examples/SkeletalPushoutComplement.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ K := FinSet( 3 );
1717
#! |3|
1818
L := FinSet( 6 );
1919
#! |6|
20-
l := MapOfFinSets( K, [ 2, 3, 4 ], L );; IsMonomorphism( l );; l;
20+
l := MapOfFinSets( K, [ 2 .. 4 ], L );; IsMonomorphism( l );; l;
2121
#! |3| ↪ |6|
2222
Display( l );
23-
#! { 0, 1, 2 } ⱶ[ 2, 3, 4 ]→ { 0,..., 5 }
23+
#! { 0, 1, 2 } ⱶ[ 2 .. 4 ]→ { 0,..., 5 }
2424
G := FinSet( 8 );
2525
#! |8|
2626
Display( G );

gap/SkeletalFinSets.gd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#! @Chapter The category of skeletal finite sets
88

9-
#! @Section Skeletal GAP Categories
9+
#! @Section GAP Categories
1010

1111
#! @Description
1212
#! The GAP category of categories
@@ -29,7 +29,7 @@ DeclareCategory( "IsSkeletalFiniteSet",
2929
DeclareCategory( "IsSkeletalFiniteSetMap",
3030
IsCapCategoryMorphism );
3131

32-
#! @Section Skeletal Attributes
32+
#! @Section Attributes
3333

3434
#! @Description
3535
#! The integer defining the skeletal finite set <A>M</A>, i.e.,
@@ -60,7 +60,7 @@ DeclareAttribute( "AsList",
6060

6161
CapJitAddTypeSignature( "AsList", [ IsSkeletalFiniteSetMap ], rec( filter := IsList, element_type := rec( filter := IsBigInt ) ) );
6262

63-
#! @Section Skeletal Constructors
63+
#! @Section Constructors
6464

6565
#! @Description
6666
#! Construct a category of skeletal finite sets.
@@ -100,7 +100,7 @@ DeclareOperation( "MapOfFinSets",
100100
[ IsSkeletalFiniteSet, IsList, IsSkeletalFiniteSet ] );
101101
#! @InsertChunk SkeletalMapOfFinSets
102102

103-
#! @Section Skeletal Tools
103+
#! @Section Tools
104104

105105
#! @Description
106106
#! Returns <C>List( AsList( <A>s</A> ), <A>f</A> )</C>.

gap/SkeletalFinSets.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ InstallMethod( CategoryOfSkeletalFinSets,
4040

4141
if ValueOption( "no_precompiled_code" ) <> true then
4242

43-
ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsPrecompiled( cat );
43+
ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled( cat );
4444

4545
fi;
4646

gap/Tools.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#! @Chapter The category of skeletal finite sets
88

9-
#! @Section Skeletal Tools
9+
#! @Section Tools
1010

1111
#! @Description
1212
#! Returns $(q^n-1)/(q-1)$ = <C>Sum</C>( [ 0 .. <A>n</A> - 1 ], i -> <A>q</A>^i ),

gap/precompiled_categories/CategoryOfSkeletalFinSetsPrecompiled.gi renamed to gap/precompiled_categories/CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled.gi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Implementations
55
#
6-
BindGlobal( "ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsPrecompiled", function ( cat )
6+
BindGlobal( "ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled", function ( cat )
77

88
##
99
AddCartesianBraidingInverseWithGivenDirectProducts( cat,
@@ -959,7 +959,7 @@ end
959959

960960
end );
961961

962-
BindGlobal( "CategoryOfSkeletalFinSetsPrecompiled", function ( )
962+
BindGlobal( "CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled", function ( )
963963
local category_constructor, cat;
964964

965965
category_constructor :=
@@ -973,7 +973,7 @@ end;
973973

974974
cat := category_constructor( : FinalizeCategory := false, no_precompiled_code := true );
975975

976-
ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsPrecompiled( cat );
976+
ADD_FUNCTIONS_FOR_CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled( cat );
977977

978978
Finalize( cat );
979979

read.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
ReadPackage( "FinSetsForCAP", "gap/Tools.gi" );
88

9-
ReadPackage( "FinSetsForCAP", "gap/precompiled_categories/CategoryOfSkeletalFinSetsPrecompiled.gi" );
9+
ReadPackage( "FinSetsForCAP", "gap/precompiled_categories/CategoryOfSkeletalFinSetsWithMorphismsGivenByListsPrecompiled.gi" );
1010

1111
ReadPackage( "FinSetsForCAP", "gap/FinSets.gi" );
1212

0 commit comments

Comments
 (0)