Skip to content

Commit 23b9c23

Browse files
authored
Merge pull request #1481 from mohamed-barakat/DuplicateFreeList
CapJitAddTypeSignature( "DuplicateFreeList", [ IsList ], ... )
2 parents 6c8a934 + e2c3089 commit 23b9c23

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CompilerForCAP/PackageInfo.g

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SetPackageInfo( rec(
1010

1111
PackageName := "CompilerForCAP",
1212
Subtitle := "Speed up computations in CAP categories",
13-
Version := "2023.10-02",
13+
Version := "2023.10-03",
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

CompilerForCAP/gap/InferDataTypes.gi

+6
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,12 @@ CapJitAddTypeSignature( "SSortedList", [ IsList ], function ( input_types )
10921092

10931093
end );
10941094

1095+
CapJitAddTypeSignature( "DuplicateFreeList", [ IsList ], function ( input_types )
1096+
1097+
return input_types[1];
1098+
1099+
end );
1100+
10951101
CapJitAddTypeSignature( "First", [ IsList, IsFunction ], function ( args, func_stack )
10961102

10971103
# COVERAGE_IGNORE_BLOCK_START

0 commit comments

Comments
 (0)