Documentation
¶
Index ¶
- func Slice[T any](entry []T, start, end, step int) (slice []T, err error)
- type Accumulator
- type Enumerator
- type ListIterator
- func Chain[T any](entries ...[]T) ListIterator[T]
- func Cycle[T any](entry []T) ListIterator[T]
- func DropWhile[T any](condition func(T) bool, entry []T) ListIterator[T]
- func GroupBy[T any, U comparable](entry []T, by func(T) U) ListIterator[[]T]
- func Map[E, R any](handler func(E) R, entry []E) ListIterator[R]
- func NewListIterator[T any](entry []T) ListIterator[T]
- func NewSliceIterator[T any](entry []T, start, end, step int) ListIterator[T]
- func PairWise[T any](entry []T) ListIterator[[2]T]
- func Repeat[T any](entry T, count int) ListIterator[T]
- func Reversed[T any](entry []T) ListIterator[T]
- func TakeWhile[T any](condition func(T) bool, entry []T) ListIterator[T]
- func Zip[T any](entries ...[]T) (iterator ListIterator[[]T], err error)
- func ZipLongest[T any](entries ...[]T) (iterator ListIterator[[]T], err error)
- type ZipIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Accumulator ¶
func Accumulate ¶
func Accumulate[T any](entry []T, handler func(T, T) T) Accumulator[T]
type Enumerator ¶
type ListIterator ¶
func Chain ¶
func Chain[T any](entries ...[]T) ListIterator[T]
func Cycle ¶
func Cycle[T any](entry []T) ListIterator[T]
func DropWhile ¶
func DropWhile[T any](condition func(T) bool, entry []T) ListIterator[T]
func GroupBy ¶
func GroupBy[T any, U comparable](entry []T, by func(T) U) ListIterator[[]T]
func Map ¶
func Map[E, R any](handler func(E) R, entry []E) ListIterator[R]
func NewListIterator ¶
func NewListIterator[T any](entry []T) ListIterator[T]
func NewSliceIterator ¶
func NewSliceIterator[T any](entry []T, start, end, step int) ListIterator[T]
func PairWise ¶
func PairWise[T any](entry []T) ListIterator[[2]T]
func Repeat ¶
func Repeat[T any](entry T, count int) ListIterator[T]
func Reversed ¶
func Reversed[T any](entry []T) ListIterator[T]
func TakeWhile ¶
func TakeWhile[T any](condition func(T) bool, entry []T) ListIterator[T]
func Zip ¶
func Zip[T any](entries ...[]T) (iterator ListIterator[[]T], err error)
func ZipLongest ¶
func ZipLongest[T any](entries ...[]T) (iterator ListIterator[[]T], err error)
type ZipIterator ¶
func ZipPair ¶
func ZipPair[T, U any](entry1 []T, entry2 []U) ZipIterator[T, U]
func ZipPairLongest ¶
func ZipPairLongest[T, U any](entry1 []T, entry2 []U) ZipIterator[T, U]
Click to show internal directories.
Click to hide internal directories.