From 4d8d43e03ac706e64038e52a4aada5cc57acdddc Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Mon, 4 Dec 2023 09:16:34 -0800 Subject: [PATCH] export list --- solutions/src/2023/01.hs | 2 +- solutions/src/2023/02.hs | 2 +- solutions/src/2023/03.hs | 2 +- solutions/src/2023/04.hs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/solutions/src/2023/01.hs b/solutions/src/2023/01.hs index 2874eb2..68cb789 100644 --- a/solutions/src/2023/01.hs +++ b/solutions/src/2023/01.hs @@ -18,7 +18,7 @@ last digits on the line, then sum up all of these numbers. [29,83,13,24,42,14,76] -} -module Main where +module Main (main) where import Advent (fromDigits, format) import Text.ParserCombinators.ReadP (readP_to_S, string, (<++), choice, get) diff --git a/solutions/src/2023/02.hs b/solutions/src/2023/02.hs index 3f1c29f..5a7f059 100644 --- a/solutions/src/2023/02.hs +++ b/solutions/src/2023/02.hs @@ -24,7 +24,7 @@ Game 5: 6 red, 1 blue, 3 green; 2 blue, 1 red, 2 green 2286 -} -module Main where +module Main (main) where import Data.Map (Map) import Data.Map qualified as Map diff --git a/solutions/src/2023/03.hs b/solutions/src/2023/03.hs index 3f50b71..68ad186 100644 --- a/solutions/src/2023/03.hs +++ b/solutions/src/2023/03.hs @@ -25,7 +25,7 @@ Maintainer : emertens@gmail.com 467835 -} -module Main where +module Main (main) where import Data.Map (Map) import Data.Map qualified as Map diff --git a/solutions/src/2023/04.hs b/solutions/src/2023/04.hs index 6ff1fb4..c6c3bb2 100644 --- a/solutions/src/2023/04.hs +++ b/solutions/src/2023/04.hs @@ -27,7 +27,7 @@ Card 6: 31 18 13 56 72 | 74 77 10 23 35 67 36 11 30 -} -module Main where +module Main (main) where import Advent (format) import Data.List (intersect)