| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Optics.Re
Documentation
class ReversibleOptic k where #
Minimal complete definition
Associated Types
type ReversedOptic k :: OpticKind #
Methods
re :: Optic k '[] s t a b -> Optic (ReversedOptic k) '[] b a t s #
Reverses optics, turning around Equality into Equality, Iso into
Iso, Prism into PrismaticGetter (and back), Lens into LensyReview
(and back) and Getter into Review (and back).