Safe Haskell | Safe-Inferred |
---|
Text IO using the UTF8 character encoding.
- readTextFile :: FilePath -> IO String
- hPutStr :: Handle -> String -> IO ()
- writeFile :: FilePath -> String -> IO ()
Documentation
readTextFile :: FilePath -> IO StringSource
Reads a UTF8-encoded text file and converts all Unicode line endings into '\n'.