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 *.txt
dist/
dist-newstyle/

View File

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

View File

@ -12,6 +12,7 @@ rec {
buildInputs = with pkgs.haskellPackages; [ buildInputs = with pkgs.haskellPackages; [
ghcid ghcid
hlint hlint
cabal-install
(ghcWithHoogle (h: koodihaaste.buildInputs ++ koodihaaste.propagatedBuildInputs)) (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