]> git.rmz.io Git - my-scheme.git/blobdiff - app/Main.hs
Import the Parsec library
[my-scheme.git] / app / Main.hs
index 16e49391cac7ef3f27a6cf3c0abffab9d0fe3794..2740935ca44f24d9121b6d9464c61c4b633b8121 100644 (file)
@@ -1,7 +1,8 @@
 module Main where
+import Text.ParserCombinators.Parsec
 import System.Environment
 
 main :: IO ()
 main = do
-    args <- getArgs
-    putStrLn (show (read (args !! 0) + read (args !! 1)))
+    args <- getLine
+    putStrLn (args)