package option
import "github.com/IBM/fp-go/reflect"
Index ¶
- func Map[A any](f func(R.Value) A) func(R.Value) []A
- func Reduce[A any](f func(A, R.Value) A, initial A) func(R.Value) A
- func ReduceWithIndex[A any](f func(int, A, R.Value) A, initial A) func(R.Value) A
Functions ¶
func Map ¶
func Reduce ¶
func ReduceWithIndex ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
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.