You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slices package currently has Collect() to perform iter.Seq[T] -> []T, but it doesn't have similar helper functions for collecting the keys or values from an iter.Seq2[K, V].
I propose to add the following two functions to slices:
seankhliao
changed the title
proposal: slices: funcs CollectKeys and CollectValues to collect from an iter.Seq2
proposal: slices: add CollectKeys and CollectValues to collect from an iter.Seq2
Apr 6, 2025
Proposal Details
The
slices
package currently hasCollect()
to performiter.Seq[T] -> []T
, but it doesn't have similar helper functions for collecting the keys or values from aniter.Seq2[K, V]
.I propose to add the following two functions to
slices
:The text was updated successfully, but these errors were encountered: