generic

package
v1.0.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtKey

func AtKey[M ~map[K]V, S any, V any, K comparable](key K) func(sa L.Lens[S, M]) L.Lens[S, O.Option[V]]

AtKey returns a `Lens` focused on a required key of a `ReadonlyRecord`

func AtRecord

func AtRecord[M ~map[K]V, V any, K comparable](key K) L.Lens[M, O.Option[V]]

AtRecord returns a lens that focusses on a value in a record

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL