Skip to content

Instantly share code, notes, and snippets.

@MiyamonY
Created February 27, 2015 09:04
Show Gist options
  • Save MiyamonY/1530dd20023b4c265098 to your computer and use it in GitHub Desktop.
Save MiyamonY/1530dd20023b4c265098 to your computer and use it in GitHub Desktop.
main :: IO ()
main = do
putStrLn "What's your name?"
name <- getLine
putStrLn $ "Your name is " ++ name
-- nameTag = "Hello, my name is " ++ getLine Typing Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment