HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Run a series of compilation steps in a pipeline, for a

Interfaces for the compilation manager (interpreted/batch-mode)

valuecompileOne
  1. :: HscEnv
  2. -> ModSummary

    summary for module being compiled

  3. -> Int

    module N ...

  4. -> Int

    ... of M

  5. -> Maybe ModIface

    old interface, if we have one

  6. -> HomeModLinkable

    old linkable, if we have one

  7. -> IO HomeModInfo

    the complete HomeModInfo, if successful

Compile

Compile a single module, under the control of the compilation manager.

This is the interface between the compilation manager and the compiler proper (hsc), where we deal with tedious details like reading the OPTIONS pragma from the source file, converting the C or assembly that GHC produces into an object file, and compiling FFI stub files.

NB. No old interface can also mean that the source has changed.

Linking

PipeEnv

Running individual phases

datadata TPhase res where
#

Constructors

Instances1MonadUse

Constructing Pipelines

Default method of running a pipeline