Skip to content

Latest commit

 

History

History
66 lines (35 loc) · 577 Bytes

README.md

File metadata and controls

66 lines (35 loc) · 577 Bytes

Day 1

Output from input.txt.

Part 1

1446

Part 2

1486


Setup

cabal init

Tests

mkdir test

cd test

touch tests.hs

Update day01.cabal with the Test-Suite section.

Run Tests

cabal test

Run App

cabal build

ghci

Prelude> :load app/Main.hs

Or

ghci app/Main.hs

Then run

*Main> main

C#

cd day01

dotnet script solution.csx

Or

dotnet script day01/solution.csx