fp

package
v0.0.0-...-56c857f Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

A homegrown functional programming library, heavily using go generics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All[T any](a []T, f func(T) bool) bool

func Any

func Any[T any](a []T, f func(T) bool) bool

func Map

func Map[T any, M any](a []T, f func(T) M) []M

func MapErr

func MapErr[T any, M any](a []T, f func(T) (M, error)) ([]M, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳