Versions in this module Expand all Collapse all v0 v0.1.0 Mar 19, 2022 Changes in this version + func EntriesToMap(entries []Entry[K, V]) map[K]V + func Filter(s []T, fn func(Ctx[T]) bool) []T + func ForEach(s []T, fn func(Ctx[T])) + func Map(s []From, fn func(Ctx[From]) To) []To + func Reduce(s []From, init To, fn func(Ctx[From], To) To) To + type Ctx struct + Array []T + Index int + IsFirst bool + IsLast bool + Item T + type Entry struct + Key K + Value V + func EntriesFromMap(m map[K]V) []Entry[K, V]