Commit graph

6 commits

Author SHA1 Message Date
1031038d42
feat: add Chunk, ContainsBy, UniqueBy, ParallelMap, map helpers
- Add `Chunk` to split slices into groups of size n.
- Add `ContainsBy` for predicate-based containment checks.
- Add `UniqueBy` to deduplicate slices by key selector.
- Add `ParallelMap` for concurrent mapping with context and error
handling.
- Add `maps.Keys` and `maps.Values` helpers for extracting map
keys/values.
- Update README and docs for new features.
- Refactor `Contains` to use `slices.Contains`.
2025-09-01 18:03:38 -04:00
Ruidy
28f85bdc94
use comparable constraint in contains (#12)
Co-authored-by: Ruidy <ruidy.nemausat@gmail.com>
2022-02-12 21:08:46 +01:00
Ruidy
7ddb05602c refactor: use contraints 2022-01-01 14:21:05 -04:00
Ruidy
2798562b46
Enable Chaining (#6)
* feat: chain filter map reduce simple Type

* docs: chain documentation

Co-authored-by: Ruidy <rnemausat@newstore.com>
2021-12-31 18:21:00 +01:00
Ruidy
eddfb60d44 feat: max 2021-12-29 22:30:57 -04:00
Ruidy
0f07a76950 feat: contains 2021-12-29 13:46:29 -04:00