package identity

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

Index

Functions

func FromRecord

func FromRecord[K comparable, A any]() G.Traversal[map[K]A, A, map[K]A, A]

FromRecord 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
2 packages
Last checked
5 months ago

Tools for package owners.