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 :: RawFilePath -> IO ByteStringrawfilepath Data.ByteString.RawFilePath Read an entire file at the RawFilePath strictly into a ByteString.
readFile :: MonadIO m => FilePath -> m ByteStringclassy-prelude-yesod ClassyPrelude.Yesod Strictly read a file into a ByteString.
readFile :: FilePath -> IO Stringconstrained-categories Control.Category.Constrained.Prelude The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO Stringconstrained-categories Control.Category.Hask The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO Stringcopilot-language Copilot.Language.Prelude The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: StringRWIO s => FilePath -> IO sstring-class Data.String.Class Read a file and returns the contents of the file as a string Depending on the instance, this function might expect the file to be non-binary. The default definition uses openFile to open the file.
readFile :: FilePath -> IO Stringxmonad-contrib XMonad.Config.Prime The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
ReadFile :: Int -> FilePath -> (t -> r) -> HppF t rhpp Hpp.Types No documentation available.
readFile' :: FilePath -> IO Stringbase System.IO 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'.
readFile' :: FilePath -> IO Stringbase-compat System.IO.Compat 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'.