corrected phase 2

This commit is contained in:
IGI-111
2015-04-07 14:54:45 +00:00
parent b17a0fe3f9
commit ce96732419
3 changed files with 9 additions and 5 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: Main table.csv threshold [outfile.csv]")
let filename = head args
let threshold = read $ args !! 1
file <- readFile filename