Initialise day 9
This commit is contained in:
parent
a258b30eae
commit
ce70643476
@ -12,6 +12,7 @@ import Puzzles.Day5 qualified as Day5
|
||||
import Puzzles.Day6 qualified as Day6
|
||||
import Puzzles.Day7 qualified as Day7
|
||||
import Puzzles.Day8 qualified as Day8
|
||||
import Puzzles.Day9 qualified as Day9
|
||||
import Test.Tasty.Ingredients.ConsoleReporter
|
||||
|
||||
main :: IO ()
|
||||
@ -29,6 +30,7 @@ main =
|
||||
, Day6.puzzle
|
||||
, Day7.puzzle
|
||||
, Day8.puzzle
|
||||
, Day9.puzzle
|
||||
]
|
||||
<&> \Puzzle{number, parser, parts, extraTests} ->
|
||||
let
|
||||
|
||||
15
haskell/Puzzles/Day9.hs
Normal file
15
haskell/Puzzles/Day9.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Puzzles.Day9 (puzzle) where
|
||||
|
||||
import Pre
|
||||
|
||||
puzzle :: Puzzle
|
||||
puzzle =
|
||||
Puzzle
|
||||
{ number = 9
|
||||
, parser = mempty
|
||||
, parts =
|
||||
[ \() ->
|
||||
"TODO"
|
||||
]
|
||||
, extraTests = mempty
|
||||
}
|
||||
@ -18,6 +18,7 @@ executable aoc
|
||||
Puzzles.Day6
|
||||
Puzzles.Day7
|
||||
Puzzles.Day8
|
||||
Puzzles.Day9
|
||||
default-language: GHC2024
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
|
||||
8
inputs/examples/9
Normal file
8
inputs/examples/9
Normal file
@ -0,0 +1,8 @@
|
||||
7,1
|
||||
11,1
|
||||
11,7
|
||||
9,7
|
||||
9,5
|
||||
2,5
|
||||
2,3
|
||||
7,3
|
||||
@ -1 +1 @@
|
||||
Subproject commit eaf1c6e5513f5915839bf35b05d9f0cfcf28f0e6
|
||||
Subproject commit 3f57387897cb0f36f145088c1c9fcf7935e13322
|
||||
1
outputs/examples/9/1
Normal file
1
outputs/examples/9/1
Normal file
@ -0,0 +1 @@
|
||||
50
|
||||
Loading…
x
Reference in New Issue
Block a user