I am Charlie Harvey and these are my solutions to the exercises in 57 Exercises for Programmers, written in the Haskell programming language.
My intention is to solve each of the exercises and write at least a trivial test for any non-trivial pure function in the code. Sometimes this results in slightly unnecessary tests.
From top directory do: $ stack test
You can say $ stack test --test-arguments -a1000
The -a100 tells Spec to generate 1000 quickcheck cases for each case
It doesn’t compile because I have been working exclusively in GHCi. I shall sort out the cabal file eventually. Maybe.
Nah. Just working on these on train journeys and lunch breaks!