Documentation
¶
Index ¶
- func FlatMap[V, R any](seq iter.Seq[V], f func(V) iter.Seq[R]) iter.Seq[R]
- func Intersection[V comparable](iters ...iter.Seq[V]) iter.Seq[V]
- func Map[V, R any](seq iter.Seq[V], f func(V) R) iter.Seq[R]
- func Union[V comparable](iters ...iter.Seq[V]) iter.Seq[V]
- func Uniq[V comparable](seq iter.Seq[V]) iter.Seq[V]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlatMap ¶
FlatMap returns a new iterator that applies the function to each value from the input iterator. The output iterator yields the results of the function calls.
func Intersection ¶
func Intersection[V comparable](iters ...iter.Seq[V]) iter.Seq[V]
Intersection returns a new iterator that yields the intersection of the input iterators. The intersection is the set of values that are present in all input iterators.
func Map ¶
Map returns a new iterator that applies the function to each value from the input iterator. The output iterator yields the results of the function calls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.