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.
tyConAppTyConPicky_maybe :: Type -> Maybe TyConghc GHC.Core.Type Retrieve the tycon heading this type, if there is one. Does not look through synonyms.
tyConAppTyCon_maybe :: Type -> Maybe TyConghc GHC.Core.Type The same as fst . splitTyConApp We can short-cut the FunTy case
typeLevity_maybe :: HasDebugCallStack => Type -> Maybe Levityghc GHC.Core.Type Tries to compute the Levity of the given type. Returns either a definite Levity, or Nothing if we aren't sure (e.g. the type is representation-polymorphic). Panics if the kind does not have the shape TYPE r.
userTypeError_maybe :: Type -> Maybe ErrorMsgTypeghc GHC.Core.Type Is this type a custom user error? If so, give us the error message.
exprIsTickedString_maybe :: CoreExpr -> Maybe ByteStringghc 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 GHC.Core.Utils No documentation available.
normSplitTyConApp_maybe :: FamInstEnvs -> Type -> Maybe (TyCon, [Type], Coercion)ghc 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 GHC.Data.Bag No documentation available.
-
ghc GHC.Data.Bag No documentation available.
mapMaybeBag :: (a -> Maybe b) -> Bag a -> Bag bghc GHC.Data.Bag No documentation available.