Documentation
¶
Index ¶
- func All[S ~[]E, E any](s S) iter.Seq2[int, E]
- func All2[T, U any](t []T, u []U) iter.Seq3[int, T, U]
- func AppendSeq[S ~[]E, E any](s S, seq iter.Seq[E]) S
- func AppendSeq2[T, U any](seq iter.Seq2[T, U], a T, b U) iter.Seq2[T, U]
- func Backward[S ~[]E, E any](s S) iter.Seq2[int, E]
- func Chunk[S ~[]E, E any](s S, n int) iter.Seq[S]
- func Collect[E any](s iter.Seq[E]) []E
- func Collect2[T, U any](seq iter.Seq2[T, U]) (a []T, b []U)
- func Collect3[T, U, V any](seq iter.Seq3[T, U, V]) (a []T, b []U, c []V)
- func Compact[S ~[]E, E comparable](s S) []E
- func CompactFunc[S ~[]E, E any](s S, eq func(E, E) bool) []E
- func CompactSeq[E comparable](seq iter.Seq[E]) []E
- func CompactSeqFunc[E any](seq iter.Seq[E], eq func(E, E) bool) []E
- func Sorted[E cmp.Ordered](seq iter.Seq[E]) []E
- func SortedFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E
- func SortedStableFunc[E any](seq iter.Seq[E], cmp func(E, E) int) []E
- func Values[S ~[]E, E any](s S) iter.Seq[E]
- func Values3[A, B, C any](as []A, bs []B, cs []C) iter.Seq3[A, B, C]
- func Zip[A, B any](as []A, bs []B) iter.Seq2[A, B]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSeq2 ¶ added in v0.0.22
func Compact ¶ added in v0.6.0
func Compact[S ~[]E, E comparable](s S) []E
func CompactFunc ¶ added in v0.6.0
func CompactSeq ¶ added in v0.6.0
func CompactSeq[E comparable](seq iter.Seq[E]) []E
func CompactSeqFunc ¶ added in v0.6.0
func SortedStableFunc ¶ added in v0.0.15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.