Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. xpWrapMaybe :: (a -> Maybe b, b -> a) -> PU a -> PU b

    hxt Text.XML.HXT.Arrow.Pickle

    like xpWrap, but if the inverse mapping is undefined, the unpickler fails Map a value into another domain. If the inverse mapping is undefined (Nothing), the unpickler fails Deprecated: Use xpWrapEither, this gives better error messages

  2. liftMaybe :: String -> Maybe a -> Unpickler a

    hxt Text.XML.HXT.Arrow.Pickle.Xml

    Lift a Maybe value into the Unpickler monad. The 1. arg is the attached error message

  3. xpLiftMaybe :: Maybe a -> PU a

    hxt Text.XML.HXT.Arrow.Pickle.Xml

    Lift a Maybe value to a pickler. Nothing is mapped to the zero pickler, Just x is pickled with xpLift x.

  4. xpWrapMaybe :: (a -> Maybe b, b -> a) -> PU a -> PU b

    hxt Text.XML.HXT.Arrow.Pickle.Xml

    like xpWrap, but if the inverse mapping is undefined, the unpickler fails Map a value into another domain. If the inverse mapping is undefined (Nothing), the unpickler fails Deprecated: Use xpWrapEither, this gives better error messages

  5. toMaybe :: Bool -> a -> Maybe a

    hxt Text.XML.HXT.DOM.Util

    No documentation available.

  6. productMaybeWith :: (a -> b -> Maybe c) -> [[a]] -> [[b]] -> [[c]]

    leancheck Test.LeanCheck

    Take the product of lists of tiers by a function returning a Maybe value discarding Nothing values.

  7. productMaybeWith :: (a -> b -> Maybe c) -> [[a]] -> [[b]] -> [[c]]

    leancheck Test.LeanCheck.Error

    Take the product of lists of tiers by a function returning a Maybe value discarding Nothing values.

  8. funToListMaybe :: Listable a => (a -> b) -> [Maybe b]

    leancheck Test.LeanCheck.Function.List

    Converts a function to a list of Just result values or Nothing on error.

    > take 6 $ funToListMaybe $ head :: [Maybe Int]
    [Nothing,Just 0,Just 0,Just 1,Just 0,Just 0]
    
    This uses errorToNothing and consequently unsafePerformIO.

  9. catMaybesT :: [[Maybe a]] -> [[a]]

    leancheck Test.LeanCheck.Tiers

    Concatenate tiers of maybes

  10. mapMaybeT :: (a -> Maybe b) -> [[a]] -> [[b]]

    leancheck Test.LeanCheck.Tiers

    Like mapMaybe but for tiers.

Page 165 of many | Previous | Next