Constructors
Exchange (s -> a) (b -> t)
Instances2Profunctor, Functor
Profunctor (Exchange a b)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.IsoFunctor (Exchange a b s)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.Iso
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Modulegeneric-lens-2.3.0.0Haskell2010
Internal lens helpers. Only exported for Haddock
Exchange (s -> a) (b -> t)Profunctor (Exchange a b)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.IsoFunctor (Exchange a b s)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.IsoExtract the two functions, one from s -> a and
one from b -> t that characterize an Iso.
A type and its generic representation are isomorphic
M1 is just a wrapper around `f p`