Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kuhmichel committed Jul 26, 2023
1 parent 5db31a6 commit ff934f4
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions CAP/gap/CategoriesCategory.gi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ BindGlobal( "CAP_INTERNAL_CREATE_Cat",
function( )
local cat;

cat := CreateCapCategory( "Cat", IsCapCategory, IsCapCategoryAsCatObject, IsCapFunctor, IsCapNaturalTransformation : is_computable := false );
cat := CreateCapCategory( "Cat",
IsCapCategory,
IsCapCategoryAsCatObject,
IsCapFunctor,
IsCapNaturalTransformation
: is_computable := false );

cat!.category_as_first_argument := true;

Expand All @@ -40,7 +45,7 @@ InstallMethod( AsCatObject,
local cat_obj;

cat_obj := CreateCapCategoryObjectWithAttributes( CapCat,
AsCapCategory, category );
AsCapCategory, category );

SetIsWellDefined( cat_obj, true );

Expand Down Expand Up @@ -507,12 +512,9 @@ AddPreCompose( category,
function( cat, left_functor, right_functor )
local new_functor;

new_functor := CapFunctor( Concatenation( "Precomposition of ",
Name( left_functor ),
" and ",
Name( right_functor ) ),
AsCapCategory( Source( left_functor ) ),
AsCapCategory( Range( right_functor ) ) );
new_functor := CapFunctor( Concatenation( "Precomposition of ", Name( left_functor ), " and ", Name( right_functor ) ),
AsCapCategory( Source( left_functor ) ),
AsCapCategory( Range( right_functor ) ) );

AddObjectFunction( new_functor,

Expand Down

0 comments on commit ff934f4

Please sign in to comment.