HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Driver.Pipeline.Monad

The TPipelineClass and MonadUse classes and associated types

  • 3 types
  • 1 class
classclass MonadUse (f :: k -> Type) (m :: k -> Type) where
#

Lift a f action into an m action.

Methods

  • use :: f a -> m a
datadata PipelineOutput
#

Constructors

  • Temporary TempFileLifetime

    Output should be to a temporary file: we're going to run more compilation steps on this output later.

  • Persistent

    We want a persistent file, i.e. a file in the current directory derived from the input filename, but with the appropriate extension. eg. in "ghc -c Foo.hs" the output goes into ./Foo.o.

  • SpecificFile

    The output must go into the specific outputFile in DynFlags. We don't store the filename in the constructor as it changes when doing -dynamic-too.

  • NoOutputFile

    No output should be created, like in Interpreter or NoBackend.

Instances1Show