Skip to content

Instantly share code, notes, and snippets.

@curtiswilkinson
Created December 31, 2017 04:11
Show Gist options
  • Save curtiswilkinson/9569ee7626949daf2256411217270d7c to your computer and use it in GitHub Desktop.
Save curtiswilkinson/9569ee7626949daf2256411217270d7c to your computer and use it in GitHub Desktop.
Write file
module Main where
import System.IO
main :: IO ()
main = writeFile "filename.txt" "This is my content!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment