Skip to content

Instantly share code, notes, and snippets.

@jaklt
Created September 15, 2010 17:36
Show Gist options
  • Save jaklt/581106 to your computer and use it in GitHub Desktop.
Save jaklt/581106 to your computer and use it in GitHub Desktop.
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