Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created April 15, 2015 12:10
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/0c055de2629fd1c97847 to your computer and use it in GitHub Desktop.
Save shigemk2/0c055de2629fd1c97847 to your computer and use it in GitHub Desktop.
import Data.Char
main = do
putStrLn "What's your first name?"
firstName <- getLine
putStrLn "What's your last name?"
lastName <- getLine
let bigFirstName = map toUpper firstName
bigLastName = map toUpper lastName
putStrLn $ "hey " ++ bigFirstName ++ " "
++ bigLastName
++ ", how are you?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment