- Stack
- Haskell
- Christmas 2019
stack build
cd <to correct directory in src>
Then:
stack runghc Day01.hs < input.txt
or
echo -n "yourinput" | stack runghc Day01.hs
The tests are from the example of the day
stack runghc test.hs
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
stack build
cd <to correct directory in src>
Then:
stack runghc Day01.hs < input.txt
or
echo -n "yourinput" | stack runghc Day01.hs
The tests are from the example of the day
stack runghc test.hs