Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. userTypeError_maybe :: Type -> Maybe ErrorMsgType

    ghc-lib-parser GHC.Core.Type

    Is this type a custom user error? If so, give us the error message.

  2. exprIsTickedString_maybe :: CoreExpr -> Maybe ByteString

    ghc-lib-parser GHC.Core.Utils

    Extract a literal string from an expression that is zero or more Ticks wrapped around a literal string. Returns Nothing if the expression has a different shape. Used to "look through" Ticks in places that need to handle literal strings.

  3. getIdFromTrivialExpr_maybe :: CoreExpr -> Maybe Id

    ghc-lib-parser GHC.Core.Utils

    No documentation available.

  4. normSplitTyConApp_maybe :: FamInstEnvs -> Type -> Maybe (TyCon, [Type], Coercion)

    ghc-lib-parser GHC.Core.Utils

    If normSplitTyConApp_maybe _ ty = Just (tc, tys, co) then ty |> co = tc tys. It's splitTyConApp_maybe, but looks through coercions via topNormaliseType_maybe. Hence the "norm" prefix.

  5. catBagMaybes :: Bag (Maybe a) -> Bag a

    ghc-lib-parser GHC.Data.Bag

    No documentation available.

  6. headMaybe :: Bag a -> Maybe a

    ghc-lib-parser GHC.Data.Bag

    No documentation available.

  7. mapMaybeBag :: (a -> Maybe b) -> Bag a -> Bag b

    ghc-lib-parser GHC.Data.Bag

    No documentation available.

  8. mapMaybeBagM :: Monad m => (a -> m (Maybe b)) -> Bag a -> m (Bag b)

    ghc-lib-parser GHC.Data.Bag

    No documentation available.

  9. mapMaybeFsEnv :: (elt1 -> Maybe elt2) -> FastStringEnv elt1 -> FastStringEnv elt2

    ghc-lib-parser GHC.Data.FastString.Env

    No documentation available.

  10. assocMaybe :: Eq a => Assoc a b -> a -> Maybe b

    ghc-lib-parser GHC.Data.List.SetOps

    Lookup key, fail gracefully using Nothing if not found.

Page 204 of many | Previous | Next