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-10.0.0.20260917GHC2024

GHC.SysTools.Cpp

  • 1 type
  • 5 values
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.