Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFileBS :: MonadIO m => FilePath -> m ByteStringrelude Relude.File Lifted version of readFile.
readFileLBS :: MonadIO m => FilePath -> m LByteStringrelude Relude.File Lifted version of readFile.
readFileLText :: MonadIO m => FilePath -> m LTextrelude Relude.File Warning: readFileLText depends on the system's locale settings and can throw unexpected exceptions.Use readFileLBS instead.
readFileText :: MonadIO m => FilePath -> m Textrelude Relude.File Warning: readFileText depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS instead.
readFile' :: MonadIO m => FilePath -> m Stringrelude Relude.Lifted.File Warning: readFile' depends on the system's locale settings and can throw unexpected exceptions.Use readFileBS or readFileLBS instead.
readFileDeserialise :: Serialise a => FilePath -> IO aserialise Codec.Serialise Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.
readFileDeserialise :: Serialise a => FilePath -> IO aserialise Codec.Serialise.IO Read the specified file (internally, by reading a ByteString) and attempt to decode it into a Haskell value using deserialise (the type of which is determined by the choice of the result type). Throws: DeserialiseFailure if the file fails to deserialise properly.
readFileFromDirs :: PandocMonad m => [FilePath] -> FilePath -> m (Maybe Text)pandoc Text.Pandoc.Class Read file, checking in any number of directories.
readFileLazy :: PandocMonad m => FilePath -> m ByteStringpandoc Text.Pandoc.Class Read the lazy ByteString contents from a file path, raising an error on failure.
readFileStrict :: PandocMonad m => FilePath -> m ByteStringpandoc Text.Pandoc.Class Read the strict ByteString contents from a file path, raising an error on failure.