Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readFile :: FilePath -> SourceT IO ByteString

    servant Servant.Types.SourceT

    Read file.

    >>> foreach fail BS.putStr (readFile "servant.cabal")
    cabal-version:       2.2
    name:                servant
    ...
    

  2. readFile :: FilePath -> IO String

    ghc 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.

  3. readFile :: ParseSettings -> FilePath -> IO Document

    xml-conduit Text.XML

    No documentation available.

  4. readFile :: ParseSettings -> FilePath -> IO Document

    xml-conduit Text.XML.Unresolved

    No documentation available.

  5. readFile :: MonadIO m => FilePath -> m ByteString

    rio RIO.ByteString

    Lifted readFile

  6. readFile :: MonadIO m => FilePath -> m LByteString

    rio RIO.ByteString.Lazy

    Lifted readFile

  7. readFile :: FilePath -> IO String

    strict System.IO.Strict

    The readFile function reads a file and returns the contents of the file as a string. The file is read strictly, as with getContents.

  8. readFile :: Storable a => FilePath -> IO (Vector a)

    storablevector Data.StorableVector

    Read an entire file strictly into a Vector. This is far more efficient than reading the characters into a String and then using pack. It also may be more efficient than opening the file and reading it using hGet. Files are read using 'binary mode' on Windows.

  9. readFile :: FilePath -> IO Text

    pandoc Text.Pandoc.UTF8

    No documentation available.

  10. readFile :: MonadIO m => FilePath -> m String

    relude Relude.Lifted.File

    Warning: readFile depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS or readFileLBS instead.

Page 2 of many | Previous | Next