Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. readFileLazy :: (PandocMonad m, MonadIO m) => FilePath -> m ByteString

    pandoc Text.Pandoc.Class.IO

    Read the lazy ByteString contents from a file path, raising an error on failure.

  2. readFileStrict :: (PandocMonad m, MonadIO m) => FilePath -> m ByteString

    pandoc Text.Pandoc.Class.IO

    Read the strict ByteString contents from a file path, raising an error on failure.

  3. readFile' :: FilePath -> IO String

    ghc-internal GHC.Internal.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'.

  4. readFileOrStdinPortably :: String -> IO Text

    hledger-lib Hledger.Utils.IO

    Like readFilePortably, but read from standard input if the path is "-".

  5. readFileOrStdinPortably' :: Maybe DynEncoding -> String -> IO Text

    hledger-lib Hledger.Utils.IO

    Like readFileOrStdinPortably, but take an optional converter.

  6. readFilePortably :: FilePath -> IO Text

    hledger-lib Hledger.Utils.IO

    Read text from a file, converting any rn line endings to n,, using the system locale's text encoding, ignoring any utf8 BOM prefix (as seen in paypal's 2018 CSV, eg) if that encoding is utf8.

  7. readFileStrictly :: FilePath -> IO Text

    hledger-lib Hledger.Utils.IO

    Like readFilePortably, but read all of the file before proceeding.

  8. readFile' :: Partial => FilePath -> Action String

    shake Development.Shake

    Read a file, after calling need. The argument file will be tracked as a dependency.

  9. readFileLines :: Partial => FilePath -> Action [String]

    shake Development.Shake

    A version of readFile' which also splits the result into lines. The argument file will be tracked as a dependency.

  10. readFileUtf8 :: MonadIO m => FilePath -> m Text

    classy-prelude ClassyPrelude

    Strictly read a file into a Text using a UTF-8 character encoding. In the event of a character encoding error, a Unicode replacement character will be used (a.k.a., lenientDecode).

Page 12 of many | Previous | Next