Open
Description
Is your feature request related to a problem? Please describe.
Not really. There is workarounds possible but useful to do this in the library.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...].
Add Uniq
and UniqF
functions to generate only unique values
Describe the solution you'd like
Signatures of the function:
func Uniq[V comparable](seq iter.Seq[V]) iter.Seq[V] {
}
func UniqF[V any](seq iter.Seq[V], comparator func(v1, v2 V) int) iter.Seq[V] {
}
Does this incur a breaking change?
No.
Do you intend to build this feature yourself?
Yes
Activity