Initialise day 5
This commit is contained in:
parent
ef342a1483
commit
3742e1d254
@ -11,6 +11,7 @@ import Puzzles.Day1 qualified as Day1
|
||||
import Puzzles.Day2 qualified as Day2
|
||||
import Puzzles.Day3 qualified as Day3
|
||||
import Puzzles.Day4 qualified as Day4
|
||||
import Puzzles.Day5 qualified as Day5
|
||||
import Test.Tasty
|
||||
import Test.Tasty.Golden (goldenVsString)
|
||||
import Test.Tasty.Ingredients.ConsoleReporter
|
||||
@ -27,6 +28,7 @@ main =
|
||||
, Day2.puzzle
|
||||
, Day3.puzzle
|
||||
, Day4.puzzle
|
||||
, Day5.puzzle
|
||||
]
|
||||
<&> \Puzzle{number, parser, parts, extraTests} ->
|
||||
let
|
||||
|
||||
15
haskell/Puzzles/Day5.hs
Normal file
15
haskell/Puzzles/Day5.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Puzzles.Day5 (puzzle) where
|
||||
|
||||
import Puzzle
|
||||
|
||||
puzzle :: Puzzle
|
||||
puzzle =
|
||||
Puzzle
|
||||
{ number = 5
|
||||
, parser = pure ()
|
||||
, parts =
|
||||
[ \() ->
|
||||
"TODO"
|
||||
]
|
||||
, extraTests = mempty
|
||||
}
|
||||
@ -14,6 +14,7 @@ executable aoc
|
||||
Puzzles.Day2
|
||||
Puzzles.Day3
|
||||
Puzzles.Day4
|
||||
Puzzles.Day5
|
||||
default-language: GHC2024
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
|
||||
11
inputs/examples/5
Normal file
11
inputs/examples/5
Normal file
@ -0,0 +1,11 @@
|
||||
3-5
|
||||
10-14
|
||||
16-20
|
||||
12-18
|
||||
|
||||
1
|
||||
5
|
||||
8
|
||||
11
|
||||
17
|
||||
32
|
||||
@ -1 +1 @@
|
||||
Subproject commit 7d234e9ef9f6a1ea8b263e2a2e9b936eba1fcc46
|
||||
Subproject commit 2f751675d92355e0071ef201a4ec9496278da274
|
||||
1
outputs/examples/5/1
Normal file
1
outputs/examples/5/1
Normal file
@ -0,0 +1 @@
|
||||
3
|
||||
Loading…
x
Reference in New Issue
Block a user