Skip to content

Commit

Permalink
Merge pull request #249 from zickgraf/master
Browse files Browse the repository at this point in the history
Comment Iterator for Julia
  • Loading branch information
zickgraf authored Feb 20, 2024
2 parents bcd2931 + d2cc339 commit a377914
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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 := "2024.02-06",
Version := "2024.02-07",

Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
License := "GPL-2.0-or-later",
Expand Down
7 changes: 4 additions & 3 deletions gap/FinSets.gi
Original file line number Diff line number Diff line change
Expand Up @@ -229,17 +229,18 @@ InstallMethod( \[\],

end );

#= comment for Julia
##
InstallMethod( Iterator,
"for CAP finite sets",
[ IsObjectInCategoryOfFiniteSets ],

# `args` is never used in GAP but needed for Julia
function ( M, args... )
function ( M )

return CallFuncList( Iterator, Concatenation( [ AsList( M ) ], args ) );
return Iterator( AsList( M ) );

end );
# =#

##
InstallMethod( UnionOfFinSets,
Expand Down

0 comments on commit a377914

Please sign in to comment.