withFile' :: FilePath -> IOMode -> (Handle -> IO r) -> IO r
withFile' name mode f = bracket (openFile name mode) (\handle -> hClose handle) (\handle -> f handle)
withFile' :: FilePath -> IOMode -> (Handle -> IO r) -> IO r
withFile' name mode f = bracket (openFile name mode) (\handle -> hClose handle) (\handle -> f handle)
withFile' name mode f = bracket (openFile name mode) (\handle -> hClose handle) (\handle -> f handle)