Documentation ¶
Index ¶
- func Chunk[T any](src []T, size int) iter.Seq[[]T]
- func Filter[T any](src []T, fn func(T) bool) iter.Seq[T]
- func Map[T, U any](src []T, fn func(T) U) iter.Seq[U]
- func Map2[T comparable, U any](src map[T]U, fn func(T, U) U) iter.Seq2[T, U]
- func Reduce[T, U any](src []T, init U, fn func(U, T) U) iter.Seq[U]
- func Reduce2[K comparable, V, U any](src map[K]V, init U, fn func(U, K, V) U) iter.Seq[U]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.