package generic

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

Index

Functions

func FromRecord

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

FromRecord returns a traversal from a record 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
5 months ago

Tools for package owners.