Common.hs defines the aoc
function, which takes a day and a solution, which consists of functions for parsing the input, and for solving both parts.
To run the tests for specific day, run:
$ runghc DayXXSpec.hs
To get the solutions for a specific day, run:
$ runghc DayXX.hs