Skip to content

Instantly share code, notes, and snippets.

@AWhetter
Created August 30, 2013 15:05
Show Gist options
  • Save AWhetter/6390820 to your computer and use it in GitHub Desktop.
Save AWhetter/6390820 to your computer and use it in GitHub Desktop.
Opens a file and reverses it into another file
main = readFile "input.txt" >>= (writeFile "output.txt").reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment