Skip to content

Instantly share code, notes, and snippets.

@jaklt
Created September 15, 2010 17:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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