Cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
18
src/Lib.hs
18
src/Lib.hs
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user