The helper script ./formatAndRun.sh
will format, lint and run the code for all days using brittany
, hlint
and ghc
respectively.
Add a two digit day to just run for a given day, e.g. ./formatAndRun.sh 01
.
The output should match the content of answers
. The helper script ./test.sh [DAY]
will verify this.