record

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtKey

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

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

func AtRecord

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

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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