Samuel Berthe
|
96d5482643
|
fix(product): fix empty slice behavior (#583) (#584)
|
2025-01-28 12:35:04 +01:00 |
|
Samuel Berthe
|
2bdcacae5e
|
doc: add example for Product and ProductBy
|
2025-01-27 01:05:21 +01:00 |
|
JohnDevitt
|
1c1dfd9d29
|
feat: add Product and ProductBy functions (#566)
Co-authored-by: John.Devitt@cdp.net <JohnDevitt@Mac.cust.communityfibre.co.uk>
|
2025-01-27 01:02:11 +01:00 |
|
Nathan Baulch
|
db0f4d2171
|
Tidy up (#519)
|
2024-08-22 01:17:02 +02:00 |
|
Trim21
|
42a90a0c7b
|
remove golang.org/x/exp since it doesn't follow go 1 compatibility promise (#478)
* fix
* mod tidy
* remove test
* redirect cmp.Ordered
* fix
* fix
* fix
|
2024-06-29 18:03:44 +02:00 |
|
Samuel Berthe
|
61209816d1
|
feat: speed up loops by reducing allocations (#475)
|
2024-06-28 01:35:57 +02:00 |
|
Usman Ahmed
|
97074eeae7
|
Adding Mean and MeanBy (#414)
* feat: create Mean for ints and floats
* feat: create MeanBy for ints and floats
* chore: add example tests for mean Mean and MeanBy
|
2024-06-27 13:45:28 +02:00 |
|
Samuel Berthe
|
7887963db8
|
feat: name each callback/iteratee/predicate arguments in order to improve autocompletion
closes #242
|
2022-10-13 22:25:33 +02:00 |
|
Samuel Berthe
|
ce01c4c64b
|
doc: improve doc for lo.Sum
|
2022-10-10 22:25:14 +02:00 |
|
JC Dansereau
|
6f0207afd8
|
add slice sum (#210)
Co-authored-by: JC Dansereau <jcdansereau@hortau.com>
|
2022-10-10 22:18:57 +02:00 |
|
Samuel Berthe
|
cc3aa2287b
|
doc(examples): adding go playground examples (string, map, slice, condition, math)
|
2022-10-03 22:17:15 +02:00 |
|
Pål Fossmo
|
9b345886aa
|
Moved SumBy function to math.go.
Changed from data types to constraints in SumBy function signature.
|
2022-04-30 21:06:31 +02:00 |
|
Samuel Berthe
|
cf11153875
|
feat: adding Clamp
|
2022-04-12 21:58:28 +02:00 |
|