Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text IO using the UTF8 character encoding.
Documentation
readTextFile :: FilePath -> IO Text Source #
Reads a UTF8-encoded text file and converts many character sequences which may be interpreted as line or paragraph separators into 'n'.
readFile :: FilePath -> IO String Source #
Reads a UTF8-encoded text file and converts many character sequences which may be interpreted as line or paragraph separators into 'n'.