From de74cc4b3ae240b71d163eaa59b6e5a89f80ab79 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 12 Apr 2023 16:23:42 -0400 Subject: [PATCH] remove the useless template library --- app/Main.hs | 3 --- gbs-downloader.cabal | 2 +- src/MyLib.hs | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/MyLib.hs diff --git a/app/Main.hs b/app/Main.hs index 80adaaa..2b87ca6 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,8 +1,5 @@ module Main where -import qualified MyLib (someFunc) - main :: IO () main = do putStrLn "Hello, Haskell!" - MyLib.someFunc diff --git a/gbs-downloader.cabal b/gbs-downloader.cabal index 9f3f142..7230760 100644 --- a/gbs-downloader.cabal +++ b/gbs-downloader.cabal @@ -65,7 +65,7 @@ library import: warnings -- Modules exported by the library. - exposed-modules: MyLib + exposed-modules: -- Modules included in this library but not exported. -- other-modules: diff --git a/src/MyLib.hs b/src/MyLib.hs deleted file mode 100644 index e657c44..0000000 --- a/src/MyLib.hs +++ /dev/null @@ -1,4 +0,0 @@ -module MyLib (someFunc) where - -someFunc :: IO () -someFunc = putStrLn "someFunc" -- GitLab