HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulegeneric-lens-2.3.0.0Haskell2010

Data.Generics.Internal.VL.Prism

Internal lens helpers. Only exported for Haddock

Synopsis
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