Skip to content

Instantly share code, notes, and snippets.

@MiyamonY
Created February 27, 2015 10:08
Show Gist options
  • Save MiyamonY/e292beb4d75c36ee7a47 to your computer and use it in GitHub Desktop.
Save MiyamonY/e292beb4d75c36ee7a47 to your computer and use it in GitHub Desktop.
import System.IO ()
main :: IO ()
main = do
todoItem <- getLine
appendFile "todo.txt" (todoItem ++ "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment