A compact optics library compatible with the typeclasses in profunctors.
See the profunctor-optics README & library READMEs for details.
| Package | Description |
|---|---|
| profunctor-optics | Core optics: isos, prisms, lenses, grates, traversals, cotraversals, folds, setters, views |
| profunctor-optics-strings | Cotraversal-based optics for ByteString, Text, and Word types |
| profunctor-optics-containers | Optics for Map, IntMap, Set, IntSet, Seq, Tree + pattern functors |
| profunctor-optics-sequences | MonoTraversable sequence optics + pattern synonyms |
| profunctor-optics-folds | Moore/Mealy machines + strict left folds |
| profunctor-optics-exceptions | Prisms for the exception hierarchy |
| profunctor-optics-generics | Newtype isos via Coercible |
| profunctor-optics-th | Template Haskell lens/prism generation |