Skip to content

Commit 2383318

Browse files
Merge pull request #623 from mohamed-barakat/devel
installed LastOp for IsLazyHListRep
2 parents 7caec86 + 5088bef commit 2383318

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ToolsForHomalg/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 := "ToolsForHomalg",
1212
Subtitle := "Special methods and knowledge propagation tools",
13-
Version := "2024.09-01",
13+
Version := "2025.05-01",
1414
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)( ),
1515
License := "GPL-2.0-or-later",
1616

ToolsForHomalg/gap/LazyHLists.gi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ InstallMethod( Length,
3434

3535
end );
3636

37+
##
38+
InstallMethod( LastOp,
39+
[ IsLazyHListRep ],
40+
41+
function( L )
42+
43+
return L[Length( L )];
44+
45+
end );
46+
3747
## fallback method
3848
InstallOtherMethod( ListOfValues,
3949
[ IsList ],

0 commit comments

Comments
 (0)