Documentation
¶
Index ¶
- func BufferedPull[T any](seq iter.Seq[T]) (next func() (T, bool), peek func(lookahead int) (T, bool), stop func())
- func Collect[T any](iterator iter.Seq[T]) (slice []T)
- func CollectMap[T comparable, U any](iterator iter.Seq2[T, U]) map[T]U
- func CollectN[T any](iterator iter.Seq[T], n int) (slice []T)
- func FromSlice[S ~[]E, E any](slice S) iter.Seq[E]
- func IncrementalPermutations(sub, slice, added int) iter.Seq[[]int]
- func Map[T any](mapping []T, iterator iter.Seq[[]int]) iter.Seq[[]T]
- func Permutations(sub, slice int) iter.Seq[[]int]
- func Pipe[T any](iterator iter.Seq[T], yield func(T) bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferedPull ¶
func CollectMap ¶
func CollectMap[T comparable, U any](iterator iter.Seq2[T, U]) map[T]U
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.