Copyright | (c) 2016 Stephen Diehl (c) 2016-2018 Serokell (c) 2018-2023 Kowainik |
---|---|
License | MIT |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Relude.Lifted.File
Description
Lifted versions of functions working with files and common IO.
Documentation
readFile :: MonadIO m => FilePath -> m String Source #
Warning: readFile
depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS
or readFileLBS
instead.
Lifted version of readFile
.