Skip to content

Commit 228c957

Browse files
committed
Generalize "Recent-Enough" instructions
1 parent 6e0a75e commit 228c957

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,11 @@ are in force.
77

88
The message index is in the directory `message-index`.
99

10-
## Using a Recent-Enough GHC
11-
12-
Starting with version 9.6, GHC emits a unique error code with each error message.
13-
If you want to contribute to the error message index, make sure that the version of GHC you have installed on your system is 9.6 or newer.
14-
15-
You can test which version of GHC you are using on the command line:
16-
17-
```console
18-
> ghc --version
19-
The Glorious Glasgow Haskell Compilation System, version 9.6.1
20-
```
21-
22-
You can manage multiple versions of GHC on your system using [GHCup](https://www.haskell.org/ghcup/).
10+
### Using a Recent-Enough Tool
2311

12+
If you want to contribute to the error message index, make sure that the version of the tool you have installed on your system is new enough. See the README for a table of supported versions.
2413

14+
You can manage multiple versions of tools on your system using [GHCup](https://www.haskell.org/ghcup/).
2515

2616
## How to Document a GHC Error Code
2717

@@ -52,14 +42,6 @@ using a bunch of issues:
5242
- Issues related to improving the site, the workflow for contributing, or other information are tagged `error-message-index-site`: https://github.com/haskellfoundation/error-message-index/labels/error-message-index-site
5343
- Issues related to improving, clarifying, or extending existing documentation are tagged `error-message-index-improvements`: https://github.com/haskellfoundation/error-message-index/labels/error-message-index-improvements
5444

55-
## Stack and Error Codes
56-
57-
Since version 2.9.3, Stack has supported error codes in the `S-` namespace.
58-
59-
## GHCup and Error Codes
60-
61-
Since version 0.1.19.0, GHCup has supported error codes in the `GHCup-` namespace.
62-
6345
## Contributing New Messages
6446

6547
The Haskell Message Index is generated from a collection of files on

0 commit comments

Comments
 (0)