ghc-9.6.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Driver.Config.Core.Lint

Synopsis

- endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM ()
- endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO ()
- lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs
- initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig
- initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig
- initLintConfig :: DynFlags -> [Var] -> LintConfig

# Documentation

endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM () Source #

endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO () Source #

lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs Source #

Type-check a `CoreProgram`. See Note [Core Lint guarantee].

initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig Source #

initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig Source #

initLintConfig :: DynFlags -> [Var] -> LintConfig Source #