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.
userTypeError_maybe :: Type -> Maybe ErrorMsgTypeghc-lib-parser GHC.Core.Type Is this type a custom user error? If so, give us the error message.
exprIsTickedString_maybe :: CoreExpr -> Maybe ByteStringghc-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.
getIdFromTrivialExpr_maybe :: CoreExpr -> Maybe Idghc-lib-parser GHC.Core.Utils No documentation available.
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.
catBagMaybes :: Bag (Maybe a) -> Bag aghc-lib-parser GHC.Data.Bag No documentation available.
-
ghc-lib-parser GHC.Data.Bag No documentation available.
mapMaybeBag :: (a -> Maybe b) -> Bag a -> Bag bghc-lib-parser GHC.Data.Bag No documentation available.
mapMaybeBagM :: Monad m => (a -> m (Maybe b)) -> Bag a -> m (Bag b)ghc-lib-parser GHC.Data.Bag No documentation available.
mapMaybeFsEnv :: (elt1 -> Maybe elt2) -> FastStringEnv elt1 -> FastStringEnv elt2ghc-lib-parser GHC.Data.FastString.Env No documentation available.
assocMaybe :: Eq a => Assoc a b -> a -> Maybe bghc-lib-parser GHC.Data.List.SetOps Lookup key, fail gracefully using Nothing if not found.