Monthly Downloads: 8
Programming language: Haskell
License: BSD 2-clause "Simplified" License
Latest version: v0.1.0.0
polysemy-optics alternatives and similar packages
Based on the "Lenses" category.
Alternatively, view polysemy-optics alternatives based on common mentions on social networks and blogs.
vitrea6.8 0.0 polysemy-optics VS vitreaOptics via the profunctor representation theorem
lens-errors6.0 0.0 polysemy-optics VS lens-errorsHandling errors which occur deep inside lens-chains
Do you think we are missing an alternative of polysemy-optics or a related project?
Optics.Polysemy. This serves as a drop-in replacement for
As best I can tell, the
zoom functions cannot currently be translated with
complete precision. As a result, only a few
zoom functions are present here,
and they behave a little strangely.
- If you use
zoomMaybeto go from
State a, the original
State swill still be present in your effect stack. Writes to the zoomed part of the
swill be visible from inside the
State a, and vice-versa.
zoomManycannot be sensibly implemented this way, so I have left it out.
- Due to difficulties with higher-order effects, I have not yet found a way to