Skip to content

Commit

Permalink
Merge pull request #158 from mohamed-barakat/Julia
Browse files Browse the repository at this point in the history
support MapOfFinSets for SkeletalFinSets in Julia
  • Loading branch information
zickgraf authored Dec 12, 2022
2 parents 54eebdc + e5be587 commit 4d4bdd7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "FinSetsForCAP",
Subtitle := "The elementary topos of (skeletal) finite sets",
Version := "2022.12-01",
Version := "2022.12-02",

Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
License := "GPL-2.0-or-later",
Expand Down
12 changes: 11 additions & 1 deletion gap/Julia.gi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ end );

##
InstallMethod( MapOfFinSets,
[ IsCapCategoryObject, IsJuliaObject, IsCapCategoryObject ],
[ IsFiniteSet, IsJuliaObject, IsFiniteSet ],

function ( source, graph, range )

Expand All @@ -30,3 +30,13 @@ InstallMethod( MapOfFinSets,
return MapOfFinSets( source, graph, range );

end );

##
InstallMethod( MapOfFinSets,
[ IsSkeletalFiniteSet, IsJuliaObject, IsSkeletalFiniteSet ],

function ( source, graph, range )

return MapOfFinSets( source, ConvertJuliaToGAP( graph ), range );

end );

0 comments on commit 4d4bdd7

Please sign in to comment.