split filtering into phase 3

This commit is contained in:
IGI-111
2015-04-12 15:40:15 +02:00
parent 57aa8076ac
commit ef4b58158f
5 changed files with 48 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ main :: IO()
main = do
args <- getArgs
when (2 > length args)
(error "Usage: Main table.csv threshold [outfile.csv]")
(error "Usage: phase1 table.csv threshold [outfile.csv]")
let filename = head args
let threshold = read $ args !! 1
file <- readFile filename