X-Git-Url: https://git.rmz.io/my-scheme.git/blobdiff_plain/5bd76ea90313c3b469e1b7fce192f3cd54c57a33..f842fb4a461de09bae23b67773611ba08cd21885:/app/Main.hs?ds=inline diff --git a/app/Main.hs b/app/Main.hs index cdd564b..015db3a 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,7 +1,11 @@ module Main where +import Text.ParserCombinators.Parsec import System.Environment +symbol :: Parser Char +symbol = oneOf "!#$%&|*+-/:<=>?@^_~" + main :: IO () main = do - args <- getArgs - putStrLn (args !! 0 ++ args !! 1) + args <- getLine + putStrLn (args)