haskpy.optics¶
Profunctor optics
|
(s -> a) -> (b -> t) -> AdapterP a b s t |
|
(s -> a) -> ((b, s) -> t) -> LensP a b s t |
|
(s -> Either t a) -> (b -> t) -> PrismP a b s t |
Todo
traversal grate affine setter
Resources:
Profunctor Optics: Modular Data Accessors by Pickering, Gibbons, and Wu
Profunctor Optics: The Categorical View by Bartosz Milewski
https://github.com/cmk/profunctor-extras/tree/master/profunctor-optics