Skip to content

Added generic functions - #10

Merged
synesissoftware merged 2 commits into
masterfrom
generics-1
Sep 7, 2025
Merged

synesissoftware merged 2 commits into
masterfrom
generics-1

Conversation

@synesissoftware

Copy link
Copy Markdown
Owner
  • added generic function func CollectSliceOfInteger[N int8 | int16 | int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](input_slice []N, fn func(input_item N) N) (result_slice []N);
  • added generic function func EqualSliceOfInteger[N int8 | int16 | int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](lhs, rhs []int) bool;
  • added generic function func SelectSliceOfUInteger[N int8 | int16 | int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](lhs, rhs []int) bool;

… int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](input_slice []N, fn func(input_item N) N) (result_slice []N)`;

* added generic function `func EqualSliceOfInteger[N int8 | int16 | int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](lhs, rhs []int) bool`;
* added generic function `func SelectSliceOfUInteger[N int8 | int16 | int32 | int64 | int | uint8 | uint16 | uint32 | uint64 | uint | uintptr](lhs, rhs []int) bool`;
@synesissoftware synesissoftware self-assigned this Aug 27, 2025
@synesissoftware
synesissoftware merged commit 6d86ae6 into master Sep 7, 2025
4 checks passed
@synesissoftware
synesissoftware deleted the generics-1 branch September 7, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant