diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-23 22:11:17 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2021-07-23 22:13:43 +0100 |
commit | 318edd7c95b841024c2f7cfc7478aa9c601e12e5 (patch) | |
tree | 323f7b94ea880c9fd2e9cff5a82f4a5c790b8a2d | |
parent | 09940ff8297ccbe4e061a25b1cfd7dfa96f6950b (diff) | |
download | numberdisplay-318edd7c95b841024c2f7cfc7478aa9c601e12e5.tar.gz numberdisplay-318edd7c95b841024c2f7cfc7478aa9c601e12e5.tar.bz2 numberdisplay-318edd7c95b841024c2f7cfc7478aa9c601e12e5.zip |
(General)~moved cli files into seperate folder to make space for website
-rw-r--r-- | cli/Main.hs (renamed from Main.hs) | 6 | ||||
-rw-r--r-- | cli/Makefile (renamed from Makefile) | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -15,14 +15,12 @@ flagHandlerF :: [String] -> Int -> String -> ([String] -> String) -> String flagHandlerF args (-1) error fmessage = if (length args) == 0 then error - else - (fmessage args) + else fmessage args flagHandlerF args nargs error fmessage = if (length args) /= nargs then error - else - (fmessage args) + else fmessage args flagHandler :: String -> [String] -> String @@ -1,5 +1,5 @@ CC=ghc -FILES=Main.hs Math.hs +FILES=Main.hs ../Math.hs OUT=nd $(OUT): $(FILES) |