Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
prismSum :: APrism s t a b -> APrism s t c d -> Prism s t (Either a c) (Either b d)lens Control.Lens.Unsound A dual of lensProduct: a prism sum. The law
preview l (review l b) ≡ Just b
breaks with>>> let badPrism :: Prism' (Maybe Char) (Either Char Char); badPrism = prismSum _Just _Just >>> preview badPrism (review badPrism (Right 'x')) Just (Left 'x')
We put in Right value, but get back Left. Are you looking for without?_UnboxedSumE :: Prism' Exp (Exp, SumAlt, SumArity)lens Language.Haskell.TH.Lens No documentation available.
_UnboxedSumP :: Prism' Pat (Pat, SumAlt, SumArity)lens Language.Haskell.TH.Lens No documentation available.
_UnboxedSumT :: Prism' Type SumAritylens Language.Haskell.TH.Lens No documentation available.
_Sum :: Iso' Natural (Either Natural Natural)lens Numeric.Natural.Lens The natural numbers are isomorphic to disjoint sums of natural numbers embedded as evens or odds.
N = 2*N
-
parsec Text.Parsec No documentation available.
-
parsec Text.Parsec No documentation available.
-
parsec Text.Parsec.Prim No documentation available.
-
parsec Text.Parsec.Prim No documentation available.
formatSummary :: Summary -> Stringdoctest Test.DocTest.Internal.Run No documentation available.