HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulegeneric-lens-2.3.0.0Haskell2010

Data.Generics.Internal.VL.Lens

Internal lens helpers. Only exported for Haddock

Synopsis
typetype Lens' s a = Lens s s a a

Type alias for lens

typetype Lens s t a b = forall (f :: Type -> Type). Functor f => (a -> f b) -> s -> f t
#
valueview :: ((a -> Const a a) -> s -> Const a s) -> s -> a
#
valueset :: Lens s t a b -> b -> s -> t
#
valuelens2lensvl :: ALens a b i s t -> Lens s t a b
#
valueravel :: (ALens a b i a b -> ALens a b i s t) -> Lens s t a b
#
valuelens :: (s -> a) -> (s -> b -> t) -> Lens s t a b
#