Skip to content

Commit d2cc339

Browse files
committed
Comment Iterator for Julia
1 parent bcd2931 commit d2cc339

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "FinSetsForCAP",
1212
Subtitle := "The elementary topos of (skeletal) finite sets",
13-
Version := "2024.02-06",
13+
Version := "2024.02-07",
1414

1515
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)( ),
1616
License := "GPL-2.0-or-later",

gap/FinSets.gi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,17 +229,18 @@ InstallMethod( \[\],
229229

230230
end );
231231

232+
#= comment for Julia
232233
##
233234
InstallMethod( Iterator,
234235
"for CAP finite sets",
235236
[ IsObjectInCategoryOfFiniteSets ],
236237

237-
# `args` is never used in GAP but needed for Julia
238-
function ( M, args... )
238+
function ( M )
239239

240-
return CallFuncList( Iterator, Concatenation( [ AsList( M ) ], args ) );
240+
return Iterator( AsList( M ) );
241241

242242
end );
243+
# =#
243244

244245
##
245246
InstallMethod( UnionOfFinSets,

0 commit comments

Comments
 (0)