Hoogle Search
Within LTS Haskell 22.26 (ghc-9.6.5)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFile :: MonadIO m => FilePath -> m Textbasic-prelude BasicPrelude Read a file and return the contents of the file as Text. The entire file is read strictly.
readFile :: FilePath -> IO Documenthtml-conduit Text.HTML.DOM No documentation available.
readFile :: FilePath -> IO Stringnumhask NumHask.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 Stringprelude-compat Prelude2010 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 :: ListLikeIO full item => FilePath -> IO fullListLike Data.ListLike Read file. May be lazy.
readFile :: ListLikeIO full item => FilePath -> IO fullListLike Data.ListLike.IO Read file. May be lazy.
readFile :: FilePath -> IO (UArray Word8)foundation Foundation.IO Read a binary file and return the whole content in one contiguous buffer.
readFile :: FilePath -> IO ByteStringsystem-fileio Filesystem Read in the entire content of a binary file. This computation throws IOError on failure. See “Classifying I/O errors” in the System.IO.Error documentation for information on why the failure occured.
readFile :: FilePath -> IO Stringbase-prelude BasePrelude 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 Stringmixed-types-num Numeric.MixedTypes.PreludeHiding 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.