package generic

import "github.com/IBM/fp-go/optics/traversal/array/generic/identity"

Index

Functions

func FromArray

func FromArray[GA ~[]A, A any]() G.Traversal[GA, A, GA, A]

FromArray returns a traversal from an array for the identity monad

Source Files

traversal.go

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

Tools for package owners.