Created
September 15, 2010 17:36
-
-
Save jaklt/581106 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
module Main where | |
main :: IO () | |
main = do | |
l <- getLine | |
if l == "aei" | |
then putStrLn "aeiok\n" | |
else appendFile "/tmp/rabbocopLog" "failed\n" | |
appendFile "/tmp/rabbocopLog" l | |
appendFile "/tmp/rabbocopLog" (show $ l == "aei") | |
l2 <- getLine | |
putStrLn l2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment