From 0062f14109541ff34e0990aa7e3590ad4d9f10cc Mon Sep 17 00:00:00 2001 From: sudoer777 Date: Thu, 7 Sep 2023 17:24:45 -0500 Subject: [PATCH] Cabal init --- .gitignore | 23 ++++++++++++++++++ CHANGELOG.md | 5 ++++ app/Main.hs | 4 ++++ really-bad-compiler-in-haskell.cabal | 36 ++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 .gitignore create mode 100644 CHANGELOG.md create mode 100644 app/Main.hs create mode 100644 really-bad-compiler-in-haskell.cabal diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c9e245 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +dist +dist-* +cabal-dev +*.o +*.hi +*.hie +*.chi +*.chs.h +*.dyn_o +*.dyn_hi +.hpc +.hsenv +.cabal-sandbox/ +cabal.sandbox.config +*.prof +*.aux +*.hp +*.eventlog +.stack-work/ +cabal.project.local +cabal.project.local~ +.HTF/ +.ghc.environment.* diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..fa5de34 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# Revision history for really-bad-compiler-in-haskell + +## 0.1.0.0 -- YYYY-mm-dd + +* First version. Released on an unsuspecting world. diff --git a/app/Main.hs b/app/Main.hs new file mode 100644 index 0000000..65ae4a0 --- /dev/null +++ b/app/Main.hs @@ -0,0 +1,4 @@ +module Main where + +main :: IO () +main = putStrLn "Hello, Haskell!" diff --git a/really-bad-compiler-in-haskell.cabal b/really-bad-compiler-in-haskell.cabal new file mode 100644 index 0000000..8769a37 --- /dev/null +++ b/really-bad-compiler-in-haskell.cabal @@ -0,0 +1,36 @@ +cabal-version: 2.4 +name: really-bad-compiler-in-haskell +version: 0.1.0.0 + +-- A short (one-line) description of the package. +-- synopsis: + +-- A longer description of the package. +-- description: + +-- A URL where users can report bugs. +-- bug-reports: + +-- The license under which the package is released. +-- license: +author: sudoer777 +maintainer: git@sudoer.ch + +-- A copyright notice. +-- copyright: +-- category: +extra-source-files: + CHANGELOG.md + README.md + +executable really-bad-compiler-in-haskell + main-is: Main.hs + + -- Modules included in this executable, other than Main. + -- other-modules: + + -- LANGUAGE extensions used by modules in this package. + -- other-extensions: + build-depends: base ^>=4.16.4.0 + hs-source-dirs: app + default-language: Haskell2010