Skip to content

Instantly share code, notes, and snippets.

@elderica
Created December 30, 2011 10:55
Show Gist options
  • Save elderica/1539286 to your computer and use it in GitHub Desktop.
Save elderica/1539286 to your computer and use it in GitHub Desktop.
main = do
putStr " X=? "
x <- read `fmap` getLine
putStr " Y=? "
y <- read `fmap` getLine
putStrLn.show $ x + y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment