Created
November 30, 2015 19:15
-
-
Save clauswitt/4b97bc44a5a79b41dde6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import System.IO | |
main = myLoop | |
myLoop = do done <- isEOF | |
if done | |
then putStrLn "" | |
else do inp <- getLine | |
putStrLn inp | |
myLoop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment