fp

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTuple = errors.New(`"key/value" pair is missing "value"`)

Functions

func FMap

func FMap[T any, U any](vs []T, f func(T) U) (us []U)

Types

type Tuple

type Tuple [2]any

func (Tuple) HasValue

func (t Tuple) HasValue() bool

Jump to

Keyboard shortcuts

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