Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created May 13, 2015 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shigemk2/950c59eac346edc5593b to your computer and use it in GitHub Desktop.
Save shigemk2/950c59eac346edc5593b to your computer and use it in GitHub Desktop.
import System.Environment
import Data.List
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