Permalink
Browse files

Simple "print my args".

  • Loading branch information...
1 parent b3c2e40 commit d9ef7871660912bba1eefe2f5b53cdeefb2b1f8f @bos committed Sep 7, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/Main.hs
View
6 src/Main.hs
@@ -1 +1,5 @@
-main = putStrLn "hello world"
+import System.Environment
+
+main = do
+ args <- getArgs
+ print args

0 comments on commit d9ef787

Please sign in to comment.