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

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.SysTools.Cpp

  • 1 type
  • 5 values
  • Packageghc-9.14.1
  • Exports6
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceCpp.hs
valuedoCpp
  1. :: Logger
  2. -> TmpFs
  3. -> DynFlags
  4. -> UnitEnv
  5. -> CppOpts
  6. -> FilePath
  7. -> FilePath
  8. -> IO ()
#

Run either the Haskell preprocessor, JavaScript preprocessor or the C preprocessor, as per the CppOpts passed. See Note [Preprocessing invocations].

UnitEnv is needed to compute MIN_VERSION macros

If you change the macros defined by this function make sure to update the user guide.