Commit 4feb123d authored by Moses Nakamura's avatar Moses Nakamura

remembered some list sugar, stripped a println

parent 38481431
......@@ -37,9 +37,7 @@ import CxxGenerator
main::IO()
main = do
args <- getArgs
let lang = head args
putStrLn lang
let files = tail args
let (lang : files) = args
handleFiles (generatorFnFor lang) files
handleFiles (Right fn) files = mapM_ (handleFile fn) files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment