haskpy.optics

Profunctor optics

adapter(receive, send)

(s -> a) -> (b -> t) -> AdapterP a b s t

lens(view, update)

(s -> a) -> ((b, s) -> t) -> LensP a b s t

prism(match, build)

(s -> Either t a) -> (b -> t) -> PrismP a b s t

Todo

traversal grate affine setter

Resources: