One file per day/problem. To run, simply redirect the input file to stdin. For instance, for day one:
runghc Day1.hs < input/1
Problems can be found here: https://adventofcode.com/2018
One file per day/problem. To run, simply redirect the input file to stdin. For instance, for day one:
runghc Day1.hs < input/1
Problems can be found here: https://adventofcode.com/2018