Initialise day 8
This commit is contained in:
parent
3412b04af1
commit
cb86dad006
@ -11,6 +11,7 @@ import Puzzles.Day4 qualified as Day4
|
||||
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 Test.Tasty.Ingredients.ConsoleReporter
|
||||
|
||||
main :: IO ()
|
||||
@ -27,6 +28,7 @@ main =
|
||||
, Day5.puzzle
|
||||
, Day6.puzzle
|
||||
, Day7.puzzle
|
||||
, Day8.puzzle
|
||||
]
|
||||
<&> \Puzzle{number, parser, parts, extraTests} ->
|
||||
let
|
||||
|
||||
15
haskell/Puzzles/Day8.hs
Normal file
15
haskell/Puzzles/Day8.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Puzzles.Day8 (puzzle) where
|
||||
|
||||
import Pre
|
||||
|
||||
puzzle :: Puzzle
|
||||
puzzle =
|
||||
Puzzle
|
||||
{ number = 8
|
||||
, parser = pure ()
|
||||
, parts =
|
||||
[ \() ->
|
||||
"TODO"
|
||||
]
|
||||
, extraTests = mempty
|
||||
}
|
||||
@ -17,6 +17,7 @@ executable aoc
|
||||
Puzzles.Day5
|
||||
Puzzles.Day6
|
||||
Puzzles.Day7
|
||||
Puzzles.Day8
|
||||
default-language: GHC2024
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
|
||||
20
inputs/examples/8
Normal file
20
inputs/examples/8
Normal file
@ -0,0 +1,20 @@
|
||||
162,817,812
|
||||
57,618,57
|
||||
906,360,560
|
||||
592,479,940
|
||||
352,342,300
|
||||
466,668,158
|
||||
542,29,236
|
||||
431,825,988
|
||||
739,650,466
|
||||
52,470,668
|
||||
216,146,977
|
||||
819,987,18
|
||||
117,168,530
|
||||
805,96,715
|
||||
346,949,466
|
||||
970,615,88
|
||||
941,993,340
|
||||
862,61,35
|
||||
984,92,344
|
||||
425,690,689
|
||||
@ -1 +1 @@
|
||||
Subproject commit ce0edefb9bb3245e9fa6149b55495e79d05f07ff
|
||||
Subproject commit eaf1c6e5513f5915839bf35b05d9f0cfcf28f0e6
|
||||
1
outputs/examples/8/1
Normal file
1
outputs/examples/8/1
Normal file
@ -0,0 +1 @@
|
||||
40
|
||||
Loading…
x
Reference in New Issue
Block a user