Created
May 13, 2015 12:22
-
-
Save shigemk2/5441527245489e6c262d 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
import System.IO | |
main = do | |
todoItem <- getLine | |
appendFile "todo.txt" (todoItem ++ "\n") |
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
Iron the dishes | |
Dust the dog | |
Bite the dust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment