Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. hscMaybeWriteIface :: Logger -> DynFlags -> Bool -> ModIface -> Maybe Fingerprint -> ModLocation -> IO ()

    ghc-lib GHC.Driver.Main

    Write interface files

  2. ioMsgMaybe :: IO (Messages GhcMessage, Maybe a) -> Hsc a

    ghc-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:

    1. If the second result indicates success (is of the form 'Just x'), there must be no error messages in the first result.
    2. 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).

  3. loadSrcInterface_maybe :: SDoc -> ModuleName -> IsBootInterface -> PkgQual -> RnM (MaybeErr MissingInterfaceError ModIface)

    ghc-lib GHC.Iface.Load

    Like loadSrcInterface, but returns a MaybeErr.

  4. tcLookupImported_maybe :: Name -> TcM (MaybeErr IfaceMessage TyThing)

    ghc-lib GHC.Iface.Load

    No documentation available.

  5. tcLookupImported_maybe :: Name -> TcM (MaybeErr IfaceMessage TyThing)

    ghc-lib GHC.IfaceToCore

    No documentation available.

  6. anonPiTyBinderType_maybe :: PiTyBinder -> Maybe Type

    ghc-lib GHC.Plugins

    Extract a relevant type, if there is one.

  7. asJoinId_maybe :: Id -> JoinPointHood -> Id

    ghc-lib GHC.Plugins

    No documentation available.

  8. deepUserTypeError_maybe :: Type -> Maybe ErrorMsgType

    ghc-lib GHC.Plugins

    No documentation available.

  9. expandSynTyConApp_maybe :: TyCon -> [Type] -> Maybe Type

    ghc-lib GHC.Plugins

    expandSynTyConApp_maybe tc tys expands the RHS of type synonym tc instantiated at arguments tys, or returns Nothing if tc is not a synonym.

  10. fieldOcc_maybe :: OccName -> Maybe FastString

    ghc-lib GHC.Plugins

    No documentation available.

Page 293 of many | Previous | Next