Documentation
¶
Index ¶
- func Cycle(entry any) (iterator *cycler, err error)
- func Flatten(entry any) (output []any, err error)
- func NewCycler(entry []any) *cycler
- func Repeat(entry any) *repeater
- func Reversed(entry any) (output any, err error)
- func Slice(entry any, start, end, step int) (slice any, err error)
- type Counter
- type Iterator
- func Accumulate(handler, entry any) (iterator Iterator, err error)
- func Chain(entries ...any) (iterator Iterator, err error)
- func DropWhile(condition func(any) bool, entry any) (iterator Iterator, err error)
- func Enumerate(entry any, start, end, step int) (iterator Iterator, err error)
- func Filter(handler, entry any) (iterator Iterator, err error)
- func GroupBy(entry any, by func(any) any) (iterator Iterator, err error)
- func Map(handler, entry any) (iterator Iterator, err error)
- func NewAccumulator(entry []any, handler func(any, any) any) Iterator
- func NewListConvertor(entry []any, handler func(any) any) Iterator
- func NewListEnumerator(entry []any, start, end, step int) Iterator
- func NewListFilter(entry []any, handler func(any) bool) Iterator
- func NewListIterator(entry []any) Iterator
- func NewMapIterator(entry map[any]any) Iterator
- func NewPairIterator(entry []any) Iterator
- func NewSliceIterator(entry []any, start, end, step int) Iterator
- func NewZipIterator(entries [][]any, length int) Iterator
- func PairWise(entry any) (iterator Iterator, err error)
- func TakeWhile(condition func(any) bool, entry any) (iterator Iterator, err error)
- func Zip(entries ...any) (iterator Iterator, err error)
- func ZipLongest(entries ...any) (iterator Iterator, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Iterator ¶
func Accumulate ¶
func NewListEnumerator ¶
func NewListIterator ¶
func NewMapIterator ¶
func NewPairIterator ¶
func NewSliceIterator ¶
func NewZipIterator ¶
func ZipLongest ¶
Click to show internal directories.
Click to hide internal directories.