Simon Hengel pushed to branch wip/sol/pp-set-ghc-version at Glasgow Haskell Compiler / GHC Commits: a4a204e1 by Simon Hengel at 2026-06-20T14:30:57+00:00 Edit phases.rst - - - - - 1 changed file: - docs/users_guide/phases.rst Changes: ===================================== docs/users_guide/phases.rst ===================================== @@ -624,7 +624,7 @@ Options affecting a Haskell pre-processor GHC sets the environment variable `GHC_VERSION` to the current GHC version when invoking a pre-processor. The pre-processor can use this to emit - backwards compatible code. + backward-compatible code. An example of a pre-processor is to convert your source files to the input encoding that GHC expects, i.e. create a script ``convert.sh`` View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a4a204e12d26d5fcef9380f587457485... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a4a204e12d26d5fcef9380f587457485... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Hengel (@sol)