Skip to content

Instantly share code, notes, and snippets.

@buggymcbugfix
Created May 24, 2017 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buggymcbugfix/3ba460b44b02980ec2489c6cc1d0be7c to your computer and use it in GitHub Desktop.
Save buggymcbugfix/3ba460b44b02980ec2489c6cc1d0be7c to your computer and use it in GitHub Desktop.
import Data.Char(toUpper)
main = do
inpStr <- readFile "test.txt"
writeFile "output.txt" (map toUpper inpStr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment