Initialise day 7
This commit is contained in:
parent
f1db760379
commit
3412b04af1
@ -10,6 +10,7 @@ import Puzzles.Day3 qualified as Day3
|
||||
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 Test.Tasty.Ingredients.ConsoleReporter
|
||||
|
||||
main :: IO ()
|
||||
@ -25,6 +26,7 @@ main =
|
||||
, Day4.puzzle
|
||||
, Day5.puzzle
|
||||
, Day6.puzzle
|
||||
, Day7.puzzle
|
||||
]
|
||||
<&> \Puzzle{number, parser, parts, extraTests} ->
|
||||
let
|
||||
|
||||
15
haskell/Puzzles/Day7.hs
Normal file
15
haskell/Puzzles/Day7.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Puzzles.Day7 (puzzle) where
|
||||
|
||||
import Pre
|
||||
|
||||
puzzle :: Puzzle
|
||||
puzzle =
|
||||
Puzzle
|
||||
{ number = 7
|
||||
, parser = pure ()
|
||||
, parts =
|
||||
[ \() ->
|
||||
"TODO"
|
||||
]
|
||||
, extraTests = mempty
|
||||
}
|
||||
@ -16,6 +16,7 @@ executable aoc
|
||||
Puzzles.Day4
|
||||
Puzzles.Day5
|
||||
Puzzles.Day6
|
||||
Puzzles.Day7
|
||||
default-language: GHC2024
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
|
||||
16
inputs/examples/7
Normal file
16
inputs/examples/7
Normal file
@ -0,0 +1,16 @@
|
||||
.......S.......
|
||||
...............
|
||||
.......^.......
|
||||
...............
|
||||
......^.^......
|
||||
...............
|
||||
.....^.^.^.....
|
||||
...............
|
||||
....^.^...^....
|
||||
...............
|
||||
...^.^...^.^...
|
||||
...............
|
||||
..^...^.....^..
|
||||
...............
|
||||
.^.^.^.^.^...^.
|
||||
...............
|
||||
@ -1 +1 @@
|
||||
Subproject commit 7e458d7cc565d7b40ecab967357561f6c8de5ab3
|
||||
Subproject commit ce0edefb9bb3245e9fa6149b55495e79d05f07ff
|
||||
1
outputs/examples/7/1
Normal file
1
outputs/examples/7/1
Normal file
@ -0,0 +1 @@
|
||||
21
|
||||
Loading…
x
Reference in New Issue
Block a user