Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFile' :: FilePath -> IO Stringextra Extra The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.
readFileBinary :: FilePath -> IO Stringextra Extra Like readFile, but for binary files.
readFileBinary' :: FilePath -> IO Stringextra Extra A strict version of readFileBinary, see readFile' for details.
readFileEncoding :: TextEncoding -> FilePath -> IO Stringextra Extra Like readFile, but setting an encoding.
readFileEncoding' :: TextEncoding -> FilePath -> IO Stringextra Extra A strict version of readFileEncoding, see readFile' for details.
readFileUTF8 :: FilePath -> IO Stringextra Extra readFileUTF8' :: FilePath -> IO Stringextra Extra A strict version of readFileUTF8, see readFile' for details.
readFile' :: FilePath -> IO Stringextra System.IO.Extra The readFile' function reads a file and returns the contents of the file as a string. The file is fully read before being returned, as with getContents'.
readFileBinary :: FilePath -> IO Stringextra System.IO.Extra Like readFile, but for binary files.
readFileBinary' :: FilePath -> IO Stringextra System.IO.Extra A strict version of readFileBinary, see readFile' for details.