Initialise day 6
This commit is contained in:
parent
371bddf748
commit
f1db760379
@ -9,6 +9,7 @@ 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 Puzzles.Day6 qualified as Day6
|
||||
import Test.Tasty.Ingredients.ConsoleReporter
|
||||
|
||||
main :: IO ()
|
||||
@ -23,6 +24,7 @@ main =
|
||||
, Day3.puzzle
|
||||
, Day4.puzzle
|
||||
, Day5.puzzle
|
||||
, Day6.puzzle
|
||||
]
|
||||
<&> \Puzzle{number, parser, parts, extraTests} ->
|
||||
let
|
||||
|
||||
15
haskell/Puzzles/Day6.hs
Normal file
15
haskell/Puzzles/Day6.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Puzzles.Day6 (puzzle) where
|
||||
|
||||
import Pre
|
||||
|
||||
puzzle :: Puzzle
|
||||
puzzle =
|
||||
Puzzle
|
||||
{ number = 6
|
||||
, parser = pure ()
|
||||
, parts =
|
||||
[ \() ->
|
||||
"TODO"
|
||||
]
|
||||
, extraTests = mempty
|
||||
}
|
||||
@ -15,6 +15,7 @@ executable aoc
|
||||
Puzzles.Day3
|
||||
Puzzles.Day4
|
||||
Puzzles.Day5
|
||||
Puzzles.Day6
|
||||
default-language: GHC2024
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
|
||||
4
inputs/examples/6
Normal file
4
inputs/examples/6
Normal file
@ -0,0 +1,4 @@
|
||||
123 328 51 64
|
||||
45 64 387 23
|
||||
6 98 215 314
|
||||
* + * +
|
||||
@ -1 +1 @@
|
||||
Subproject commit 2f751675d92355e0071ef201a4ec9496278da274
|
||||
Subproject commit 7e458d7cc565d7b40ecab967357561f6c8de5ab3
|
||||
1
outputs/examples/6/1
Normal file
1
outputs/examples/6/1
Normal file
@ -0,0 +1 @@
|
||||
4277556
|
||||
Loading…
x
Reference in New Issue
Block a user