exercism / exercism/haskell

Show students what packages are available in the test runner

Aperta
#1,045 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
529
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The test runner only has a limited set of packages, since it is forbidden from having internet access. If a student submits a package.yaml with a package that is not in that set, there will be an error. To give students a better idea of what packages the test runner has, instead of forcing them to resort to trial and error, the track documentation shown to the students should allow them to discover this. Suggestion for how to do this:

Add an explanation to https://github.com/exercism/haskell/blob/main/docs/TESTS.md#using-packages, containing the following points (which you can paraphrase or refine as necessary):

* The available packages are those that come with GHC, listed in https://downloads.haskell.org/~ghc/9.0.1/docs/html/libraries/index.html, plus those that were added to the test runner, listed in https://github.com/exercism/haskell-test-runner/blob/main/pre-compiled/package.yaml.
* If a package isn't on that list but you think it should be, send a pull request adding it to https://github.com/exercism/haskell-test-runner/blob/main/pre-compiled/package.yaml.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.