Constructors
Exchange (s -> a) (b -> t)
Instances2Profunctor, Functor
Profunctor (Exchange a b)Defined in generic-lens-2.2.2.0 · Data.Generics.Internal.VL.IsoFunctor (Exchange a b s)Defined in generic-lens-2.2.2.0 · Data.Generics.Internal.VL.Iso
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulegeneric-lens-2.2.2.0Haskell2010
Internal lens helpers. Only exported for Haddock
Exchange (s -> a) (b -> t)Profunctor (Exchange a b)Defined in generic-lens-2.2.2.0 · Data.Generics.Internal.VL.IsoFunctor (Exchange a b s)Defined in generic-lens-2.2.2.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`