From 2cf52ad4a774ada190c70a57729f77973b6e34ab Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 11 May 2023 12:24:33 +1200 Subject: [PATCH] Add scaffolding for CSS property parsing. --- Mondrian.cabal | 4 ++-- app/Main.hs | 3 --- lib/MyLib.hs | 4 ---- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 lib/MyLib.hs diff --git a/Mondrian.cabal b/Mondrian.cabal index 61f78ec..2648542 100644 --- a/Mondrian.cabal +++ b/Mondrian.cabal @@ -18,10 +18,10 @@ build-type: Simple extra-source-files: CHANGELOG.md library - exposed-modules: MyLib + exposed-modules: Graphics.Rendering.Rect.CSS -- other-modules: -- other-extensions: - build-depends: base >=4.13 && <4.14 + build-depends: base >=4.13 && <4.14, stylist-traits >= 0.1.2 && < 1 hs-source-dirs: lib default-language: Haskell2010 diff --git a/app/Main.hs b/app/Main.hs index 60d904e..76e4cc6 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/lib/MyLib.hs b/lib/MyLib.hs deleted file mode 100644 index e657c44..0000000 --- a/lib/MyLib.hs +++ /dev/null @@ -1,4 +0,0 @@ -module MyLib (someFunc) where - -someFunc :: IO () -someFunc = putStrLn "someFunc" -- 2.30.2