Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tyConClass_maybe :: TyCon -> Maybe Classghc-lib GHC If this TyCon is that for a class instance, return the class it is for. Otherwise returns Nothing
getPicBaseMaybeNat :: NatM (Maybe Reg)ghc-lib GHC.CmmToAsm.Monad No documentation available.
-
ghc-lib GHC.Driver.Main Write interface files
ioMsgMaybe :: IO (Messages GhcMessage, Maybe a) -> Hsc aghc-lib GHC.Driver.Main Deal with errors and warnings returned by a compilation step In order to reduce dependencies to other parts of the compiler, functions outside the "main" parts of GHC return warnings and errors as a parameter and signal success via by wrapping the result in a Maybe type. This function logs the returned warnings and propagates errors as exceptions (of type SourceError). This function assumes the following invariants:
- If the second result indicates success (is of the form 'Just x'), there must be no error messages in the first result.
- If there are no error messages, but the second result indicates failure there should be warnings in the first result. That is, if the action failed, it must have been due to the warnings (i.e., -Werror).
-
ghc-lib GHC.Iface.Load Like loadSrcInterface, but returns a MaybeErr.
tcLookupImported_maybe :: Name -> TcM (MaybeErr IfaceMessage TyThing)ghc-lib GHC.Iface.Load No documentation available.
tcLookupImported_maybe :: Name -> TcM (MaybeErr IfaceMessage TyThing)ghc-lib GHC.IfaceToCore No documentation available.
anonPiTyBinderType_maybe :: PiTyBinder -> Maybe Typeghc-lib GHC.Plugins Extract a relevant type, if there is one.
asJoinId_maybe :: Id -> JoinPointHood -> Idghc-lib GHC.Plugins No documentation available.
deepUserTypeError_maybe :: Type -> Maybe ErrorMsgTypeghc-lib GHC.Plugins No documentation available.