focus v0.2.0 Focusable protocol

Summary

Functions

Modify the data that an optic focuses on

Set the data that an optic focuses on

View the data that an optic focuses on

Types

t()
t() :: term

Functions

over(optic, structure, f)

Modify the data that an optic focuses on.

set(optic, structure, value)

Set the data that an optic focuses on.

view(optic, structure)

View the data that an optic focuses on.