Documentation
¶
Index ¶
- func Append[T any](arrs ...[]T) []T
- func FilterMap[I, O any](in iter.Seq[I], fn func(*I) (O, bool)) iter.Seq[O]
- func Find[T any](arr []T, fn func(*T) bool) *T
- func FindAll[T any](arr []T, fn func(*T) bool) []*T
- func Iter[T any](s []T) iter.Seq[T]
- func IterDeref[T any](s []*T) iter.Seq[T]
- func IterRef[T any](s []T) iter.Seq[*T]
- func Map[I, O any](arr []I, fn func(I) O) []O
- func MapStringers[Slice ~[]T, T fmt.Stringer](s Slice) []string
- func Move[T any](array []T, srcIndex int, dstIndex int) []T
- func MoveToFront[T any](arr []T, fn func(T) bool)
- func Remove[T any](index int, arr []T) []T
- func Reverse[T any](s []T)
- func ToAny[T any](v T) any
- func ToString[T fmt.Stringer](v T) string
- type Searchble
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapStringers ¶
func MoveToFront ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.