Shape of the app

This commit is contained in:
Mats Rauhala 2019-10-15 19:53:38 +03:00
parent 994532b71f
commit 4ab776d51e
6 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
*.txt
dist/
dist-newstyle/

View File

@ -19,7 +19,9 @@ extra-source-files: CHANGELOG.md
executable koodihaaste
main-is: Main.hs
-- other-modules:
other-modules: Data.Language
, Data.NGram
, Data.Caesar
-- other-extensions:
build-depends: base >=4.12 && <4.13
, servant

View File

@ -12,6 +12,7 @@ rec {
buildInputs = with pkgs.haskellPackages; [
ghcid
hlint
cabal-install
(ghcWithHoogle (h: koodihaaste.buildInputs ++ koodihaaste.propagatedBuildInputs))
];
};

1
src/Data/Caesar.hs Normal file
View File

@ -0,0 +1 @@
module Data.Caesar where

1
src/Data/Language.hs Normal file
View File

@ -0,0 +1 @@
module Data.Language where

1
src/Data/NGram.hs Normal file
View File

@ -0,0 +1 @@
module Data.NGram where