package option

import "github.com/IBM/fp-go/reflect"

Index

Functions

func Map

func Map[A any](f func(R.Value) A) func(R.Value) []A

func Reduce

func Reduce[A any](f func(A, R.Value) A, initial A) func(R.Value) A

func ReduceWithIndex

func ReduceWithIndex[A any](f func(int, A, R.Value) A, initial A) func(R.Value) A

Source Files

reflect.go

Directories

PathSynopsis
reflect/generic
Version
v1.0.151 (latest)
Published
Nov 23, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
4 months ago

Tools for package owners.