functional

package
v0.0.0-...-5ed7928 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter[T interfaces.Order[T]](arr []T, f func(T) bool) []T

func Map

func Map[T any, O any](arr []T, mapper func(T) O) []O

func Reduce

func Reduce[T any, O any](arr []T, init O, f func(O, T) O) O

func Zip

func Zip[T any](arr ...[]T) [][]T

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL