HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulegeneric-lens-2.3.0.0Haskell2010

Data.Generics.Internal.VL.Prism

Internal lens helpers. Only exported for Haddock

  • 3 types
  • 4 values
typetype Prism' s a = Prism s s a a
#
valuematch :: Prism s t a b -> s -> Either t a
#
valuebuild :: Prism s t a b -> b -> t
#
valueprism :: (b -> t) -> (s -> Either t a) -> Prism s t a b
#
valueprism2prismvl :: APrism i s t a b -> Prism s t a b
#
datadata Market a b s t
#

Constructors

  • Market (b -> t) (s -> Either t a)
Instances3Choice, Profunctor, Functor
  • Choice (Market a b)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.Prism
  • Profunctor (Market a b)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.Prism
  • Functor (Market a b s)Defined in generic-lens-2.3.0.0 · Data.Generics.Internal.VL.Prism