]> git.rmz.io Git - my-scheme.git/blobdiff - app/Main.hs
Print the sum of two arguments
[my-scheme.git] / app / Main.hs
index c0766c1faa3645d237fed54bc0e83d3dbcdd4d08..16e49391cac7ef3f27a6cf3c0abffab9d0fe3794 100644 (file)
@@ -4,4 +4,4 @@ import System.Environment
 main :: IO ()
 main = do
     args <- getArgs
-    putStrLn ("Hello, " ++ args !! 0)
+    putStrLn (show (read (args !! 0) + read (args !! 1)))