added setup for day 2

This commit is contained in:
Andrew Maier 2021-12-07 22:06:57 +01:00
parent 174a54ff98
commit 73c2fc7cd2
4 changed files with 53 additions and 0 deletions

5
day02/CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
# Revision history for day02
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.

4
day02/app/Main.hs Normal file
View File

@ -0,0 +1,4 @@
module Main where
main :: IO ()
main = putStrLn "Hello, Haskell!"

42
day02/day02.cabal Normal file
View File

@ -0,0 +1,42 @@
cabal-version: 2.4
name: day02
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: Andrew Maier
maintainer: andrew@maier.name
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
executable day02
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.14.3.0
, day02
hs-source-dirs: app
default-language: Haskell2010
library
build-depends: base ^>=4.14.3.0
hs-source-dirs: lib
exposed-modules: Day02
default-language: Haskell2010

2
day02/lib/Day02.hs Normal file
View File

@ -0,0 +1,2 @@
module Day02 where