HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulegeneric-lens-2.2.2.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.2.2.0 · Data.Generics.Internal.VL.Prism
  • Profunctor (Market a b)Defined in generic-lens-2.2.2.0 · Data.Generics.Internal.VL.Prism
  • Functor (Market a b s)Defined in generic-lens-2.2.2.0 · Data.Generics.Internal.VL.Prism