Moduleghc-9.10.3GHC2021
GHC.Driver.Pipeline.Monad
The TPipelineClass and MonadUse classes and associated types
- 3 types
- 1 class
- Packageghc-9.10.3
- Exports4
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceMonad.hs
Lift a f action into an m action.
Methods
use :: f a -> m a
Constructors
PipeEnvstop_phase :: StopPhaseStop just after this phase
src_filename :: Stringbasename of original input source
src_basename :: Stringbasename of original input source
src_suffix :: Stringits extension
start_phase :: Phaseoutput_spec :: PipelineOutputsays where to put the pipeline output
Constructors
Temporary TempFileLifetimeOutput should be to a temporary file: we're going to run more compilation steps on this output later.
PersistentWe 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.
SpecificFileThe 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.
NoOutputFileNo output should be created, like in Interpreter or NoBackend.
Instances1Show
Show PipelineOutputDefined in ghc-9.10.3 · GHC.Driver.Pipeline.Monad