Created
April 15, 2015 11:57
-
-
Save shigemk2/8727f5f92e3c8e7b1ceb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tellFortune :: String -> String | |
tellFortune n = n ++ " Good!!" | |
main = do | |
putStrLn "Hello, what's your name?" | |
name <- getLine | |
putStrLn $ "Zis is your future: " ++ tellFortune name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment