haskell
haskell copied to clipboard
Exercism exercises in Haskell.
I noticed that there isn't a consistent way regarding how some test cases are ignored, to name a few: - https://github.com/exercism/haskell/blob/main/exercises/practice/pangram/test/Tests.hs - https://github.com/exercism/haskell/blob/main/exercises/practice/alphametics/test/Tests.hs - there are probably more examples but...
The current test structure has two issues: 1. Because the `Tests.hs` file is in the implicit `main` package, it's impossible for the student to add other test files. Complex solutions...
**Requirements** > Write code to keep track of the score of a game of bowling. It should support two operations: > > roll(pins : int) is called each time the...
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 https://github.com/exercism/haskell/pull/1012 we updated to Stack 18.14. Students who start exercises that had not been started before will get 18.14 in their stack.yaml if they download via CLI (tested and...
My **test wasn't compiling** (which has not be modified at all, fresh from download), and cabal reported this error: ``` test\Tests.hs:9:27: error: Module `Test.Hspec.Runner' does not export `configFastFail' 9 |...
The example given on the problem description is not solved by either solution in [examples](https://github.com/exercism/haskell/tree/main/exercises/practice/word-count/.meta/examples) when run on the instruction sample: `"That's the password: 'PASSWORD 123'!", cried the Special Agent.\nSo...
I've recently noticed (based on two of my solutions) that code passing local tests instantly times out on your servers. Upon resubmitting the very same code passes. Below are links...
The test cases for the Series exercises require that `series 0 [] = [[]]` `series _ [] = []` This seems counterintuitive and is not documented in the problem description....
A working setup was in exercism/haskell#1043: 1. Add to `~/.stack/config.yaml`: ``` # Stop downloading GHCs into isolated locations under ~/.stack. install-ghc: false # Allow Stack to pick the system GHC...