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
1 changed file:
Changes:
| ... | ... | @@ -624,7 +624,7 @@ Options affecting a Haskell pre-processor |
| 624 | 624 | |
| 625 | 625 | GHC sets the environment variable `GHC_VERSION` to the current GHC version when invoking
|
| 626 | 626 | a pre-processor. The pre-processor can use this to emit
|
| 627 | - backwards compatible code.
|
|
| 627 | + backward-compatible code.
|
|
| 628 | 628 | |
| 629 | 629 | An example of a pre-processor is to convert your source files to the
|
| 630 | 630 | input encoding that GHC expects, i.e. create a script ``convert.sh``
|