This commit is contained in:
Jens Kadenbach
2022-12-05 16:15:49 +01:00
parent d62259bf75
commit 29afc2ff7b
4 changed files with 19 additions and 14 deletions

View File

@@ -50,8 +50,7 @@ library
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
QuickCheck
, Ranged-sets
Ranged-sets
, base >=4.7 && <5
, containers
, heredoc
@@ -59,7 +58,6 @@ library
, lens
, split
, text
, these
default-language: Haskell2010
executable aoc2022-exe
@@ -70,8 +68,7 @@ executable aoc2022-exe
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, Ranged-sets
Ranged-sets
, aoc2022
, base >=4.7 && <5
, containers
@@ -80,7 +77,6 @@ executable aoc2022-exe
, lens
, split
, text
, these
default-language: Haskell2010
test-suite aoc2022-test
@@ -97,8 +93,7 @@ test-suite aoc2022-test
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck
, Ranged-sets
Ranged-sets
, aoc2022
, base >=4.7 && <5
, containers
@@ -107,5 +102,4 @@ test-suite aoc2022-test
, lens
, split
, text
, these
default-language: Haskell2010

View File

@@ -22,7 +22,6 @@ description: Please see the README on GitHub at <https://github.com/auda
dependencies:
- base >= 4.7 && < 5
- hspec
- QuickCheck
- text
- split
- heredoc
@@ -30,7 +29,6 @@ dependencies:
- split
- lens
- Ranged-sets
- these
ghc-options:
- -Wall

View File

@@ -14,7 +14,6 @@ day1 = do
putStrLn ("Highest calorie count = " ++ calorieCount)
caloriesOfTop3Elves <- day1_2
putStrLn ("Calories of top 3 elves = " ++ caloriesOfTop3Elves)
putStrLn "-----------"
day1_1 :: IO String

View File

@@ -2,8 +2,22 @@ module Lib
( someFunc
) where
import Day5
import Day1
import Day2
import Day3
import Day4
import Day5
someFunc :: IO ()
someFunc = day5
someFunc = do
day1
putStrLn "-----------"
day2
putStrLn "-----------"
day3
putStrLn "-----------"
day4
putStrLn "-----------"
day5