Focusable protocol (focus v0.4.0)

Link to this section 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.

Link to this section Types

Specs

t() :: term()

Link to this section Functions

Link to this function

over(optic, structure, f)

Modify the data that an optic focuses on.

Link to this function

set(optic, structure, value)

Set the data that an optic focuses on.

Link to this function

view(optic, structure)

View the data that an optic focuses on.