Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. mkOpFormRn :: LHsCmdTop GhcRn -> LHsExpr GhcRn -> Fixity -> LHsCmdTop GhcRn -> RnM (HsCmd GhcRn)

    ghc GHC.Rename.HsType

    No documentation available.

  2. data LookingFor

    ghc GHC.Rename.Unbound

    No documentation available.

  3. addNoNestedForallsContextsErr :: HsDocContext -> NestedForallsContextsIn -> LHsType GhcRn -> RnM ()

    ghc GHC.Rename.Utils

    A common way to invoke noNestedForallsContextsErr.

  4. noNestedForallsContextsErr :: NestedForallsContextsIn -> LHsType GhcRn -> Maybe (SrcSpan, TcRnMessage)

    ghc GHC.Rename.Utils

    Examines a non-outermost type for foralls or contexts, which are assumed to be nested. For example, in the following declaration:

    instance forall a. forall b. C (Either a b)
    
    The outermost forall a is fine, but the nested forall b is not. We invoke noNestedForallsContextsErr on the type forall b. C (Either a b) to catch the nested forall and create a suitable error message. noNestedForallsContextsErr returns Just err_msg if such a forall or context is found, and returns Nothing otherwise. This is currently used in the following places:
    • In GADT constructor types (in rnConDecl). See Note [GADT abstract syntax] (Wrinkle: No nested foralls or contexts) in GHC.Hs.Type.
    • In instance declaration types (in rnClsIntDecl and rnSrcDerivDecl in GHC.Rename.Module and renameSig in GHC.Rename.Bind). See Note [No nested foralls or contexts in instance types] in GHC.Hs.Type.

  5. getInstancesForType :: GhcMonad m => Type -> m [ClsInst]

    ghc GHC.Runtime.Eval

    No documentation available.

  6. lookupRdrNameInModuleForPlugins :: HasDebugCallStack => HscEnv -> ModuleName -> RdrName -> IO (Maybe (Name, ModIface))

    ghc GHC.Runtime.Loader

    Finds the Name corresponding to the given RdrName in the context of the ModuleName. Returns Nothing if no such Name could be found. Any other condition results in an exception:

    • If the module could not be found
    • If we could not determine the imports of the module
    Can only be used for looking up names while loading plugins (and is *not* suitable for use within plugins). The interface file is loaded very partially: just enough that it can be used, without its rules and instances affecting (and being linked from!) the module being compiled. This was introduced by 57d6798. Need the module as well to record information in the interface file

  7. data Platform

    ghc GHC.Settings

    Platform description This is used to describe platforms so that we can generate code for them.

  8. Platform :: ArchOS -> PlatformWordSize -> ByteOrder -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> !Maybe PlatformConstants -> Platform

    ghc GHC.Settings

    No documentation available.

  9. data PlatformMisc

    ghc GHC.Settings

    Platform-specific settings formerly hard-coded in Config.hs. These should probably be all be triaged whether they can be computed from other settings or belong in another another place (like Platform above).

  10. PlatformMisc :: String -> Bool -> Bool -> String -> PlatformMisc

    ghc GHC.Settings

    No documentation available.

Page 477 of many | Previous | Next