Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 354 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 354 Bytes

Advent of Code in Haskell 2019

Prequsites

  • Stack
  • Haskell
  • Christmas 2019

Building

stack build

Running a day

cd <to correct directory in src>

Then:

stack runghc Day01.hs < input.txt

or

echo -n "yourinput" | stack runghc Day01.hs

Running a test

The tests are from the example of the day

stack runghc test.hs