Documentation
¶
Index ¶
- func CollectSlice[I ~func(yield func(E) bool) bool, E any](it I) []E
- func Concat[I ~func(yield func(E) bool) bool, E any](is ...I) func(yield func(E) bool) bool
- func Fold[I ~func(yield func(E) bool) bool, A, E any](it I, acc A, f func(A, E) A) A
- func Map[I ~func(yield func(E) bool) bool, E, F any](it I, f func(E) F) func(yield func(F) bool) bool
- func Next[I ~func(yield func(E) bool) bool, E any](it I) (E, bool)
- func OfSlice[S ~[]E, E any](s S) func(yield func(E) bool) bool
- func OfSliceRef[S ~[]E, E any](s S) func(yield func(*E) bool) bool
- func Reduce[I ~func(yield func(E) bool) bool, E any](it I, f func(E, E) E) E
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectSlice ¶
func OfSliceRef ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.