Still quite new to Haskell..
I want to read the contents of a file, do something with it possibly involving IO (using putStrLn for now) and then write new contents to th
I think the easiest way to solve this problem is useing strict IO:
import qualified System.IO.Strict as S main = do file <- S.readFile "filename" writeFile "filename" file