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 :: 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 :: 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 :: MonadIO m => FilePath -> m ByteStringclassy-prelude ClassyPrelude Strictly read a file into a ByteString.
readFile :: FilePath -> IO Stringghc-lib-parser GHC.Prelude.Basic 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 Documenthtml-conduit Text.HTML.DOM No documentation available.
readFile :: forall (m :: Type -> Type) . MonadSafe m => FilePath -> Producer' String m ()pipes-safe Pipes.Safe.Prelude Read lines from a file, automatically opening and closing the file as necessary
readFile :: FilePath -> IO (UArray Word8)foundation Foundation.IO Read a binary file and return the whole content in one contiguous buffer.
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 :: FilePath -> IO Stringrebase Rebase.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.