Created
June 13, 2017 12:40
-
-
Save deque-blog/8c9886530939d169ede124d077359259 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
double_it : IO () | |
double_it = do | |
input <- getLine | |
let n = the Int (cast input) | |
printLn (n * 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment