diff --git a/aoc.cabal b/aoc.cabal index b8cf1d4..5dd464e 100644 --- a/aoc.cabal +++ b/aoc.cabal @@ -13,6 +13,7 @@ executable aoc BlockArguments DuplicateRecordFields MultiWayIf + NamedFieldPuns NoFieldSelectors OverloadedRecordDot OverloadedStrings diff --git a/app/Main.hs b/app/Main.hs index 25f088f..5421be8 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -29,7 +29,7 @@ main = ] puzzleTest :: Puzzle a -> TestTree -puzzleTest Puzzle{..} = +puzzleTest Puzzle{number, parser, parts} = testGroup pt $ ["examples", "real"] <&> \t -> withResource (parseFile $ "inputs/" <> t <> "/" <> pt) mempty \input ->