Skip to content

Instantly share code, notes, and snippets.

@MiyamonY
Created February 27, 2015 10:21
Show Gist options
  • Save MiyamonY/74276b0ba99e1ec2e8b2 to your computer and use it in GitHub Desktop.
Save MiyamonY/74276b0ba99e1ec2e8b2 to your computer and use it in GitHub Desktop.
import System.Environment
import Data.List
main :: IO ()
main = do
args <- getArgs
progName <- getProgName
putStrLn "The arguments are:"
mapM putStrLn args
putStrLn "The program name is:"
putStrLn progName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment