GHC.Driver.Config

ghc-9.14.0.20251028: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Driver.Config

Description

Subsystem configuration

Synopsis

- initOptCoercionOpts :: DynFlags -> OptCoercionOpts
- initSimpleOpts :: DynFlags -> SimpleOpts
- initEvalOpts :: DynFlags -> EvalStep -> EvalOpts
- data EvalStep
  - = EvalStepSingle
  - | EvalStepOut
  - | EvalStepNone

# Documentation

initOptCoercionOpts :: DynFlags -> OptCoercionOpts Source #

Initialise coercion optimiser configuration from DynFlags

initSimpleOpts :: DynFlags -> SimpleOpts Source #

Initialise Simple optimiser configuration from DynFlags

initEvalOpts :: DynFlags -> EvalStep -> EvalOpts Source #

Extract GHCi options from DynFlags and step

data EvalStep Source #

Instruct the interpreter evaluation to break...

Constructors

EvalStepSingle | ... at every breakpoint tick
EvalStepOut | ... after any evaluation to WHNF (See Note [Debugger: Step-out])
EvalStepNone | ... only on explicit breakpoints