Documentation ¶
Index ¶
- func Enumerate[A any](s iter.Seq[A]) iter.Seq2[int, A]
- func Filter[A any](s iter.Seq[A], f func(A) bool) iter.Seq[A]
- func Filter2[A, B any](s iter.Seq2[A, B], f func(A, B) bool) iter.Seq2[A, B]
- func FoldL[A, B any](f func(B, A) B, s iter.Seq[A], z B) B
- func FoldR[A, B any](f func(A, B) B, s iter.Seq[A], z B) B
- func Left[A, B any](s iter.Seq2[A, B]) iter.Seq[A]
- func Len[A any](s iter.Seq[A]) int
- func Lift[A, B any](s iter.Seq[A], f func(A) B) iter.Seq2[A, B]
- func Project[A, B, C any](s iter.Seq2[A, B], f func(A, B) C) iter.Seq[C]
- func Range[T constraints.Integer | constraints.Float](min, max, step T) iter.Seq[T]
- func Right[A, B any](s iter.Seq2[A, B]) iter.Seq[B]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Range ¶
func Range[T constraints.Integer | constraints.Float](min, max, step T) iter.Seq[T]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.