[Umbrella] `collections` APIs
See original GitHub issuecollections
This is an umbrella issue for the collections
module, which has landed in std
with this initial PR and a lot of new contributions since. The goal of this issue is to give an overview about functions that have alreayd been implemented, are being worked on and have not been started yet.
For more details on the idea behind the module, check out its Readme and contribution guide. For more details on the history of the module and its proposed signatures, see the original proposal PR.
If you want to implement one of the missing functions, please open a separate PR for it and keep discussion in that PR. Please read the contribution guide and make sure to keep the checklist in mind before opening your PR / marking it ready for review.
If you want to add onto or discuss the list, please do that here.
Unstarted / Suggestions
None right now
In Progress
Done
- aggregateGroups #1553
- associateBy #1071
- associateWith #1213
- chunk #993
- deepMerge #1075
- distinct #993
- distinctBy #993
- dropLastWhile #1193
- dropWhile #1185
- filterEntries #993
- filterKeys #993
- filterValues #993
- findLast #993
- findLastIndex #1062
- firstNotNullishOf #1167
- groupBy #993
- includesValue #1184
- intersect #993
- joinToString #1223
- mapEntries #993
- mapKeys #993
- mapNotNullish #1103
- mapValues #993
- maxBy #1156
- maxOf #1144
- maxWith #1170
- minBy #1157
- minOf #1164
- minWith #1169
- partition #993
- permutations #993
- reduceGroups #1187
- runningReduce #1226
- sample #1212
- single #1166
- sortBy #1069
- sumOf #1108
- takeLastWhile #1179
- takeWhile #1175
- union #993
- unzip #993
- windowed #1191
- withoutAll #1100
- zip initial PR
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:10 (10 by maintainers)
so I take
sample
andjoinToString
. @LionC @getspooky@LionC great work on seeing this proposal through in full! Also thanks to @getspooky, @majidsajadi, @grian32, @ayame113 and other contributors for help implementing all the APIs. This module is a very valuable addition to the standard library!