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.
readFileEncoding :: TextEncoding -> FilePath -> IO Stringextra System.IO.Extra Like readFile, but setting an encoding.
readFileEncoding' :: TextEncoding -> FilePath -> IO Stringextra System.IO.Extra A strict version of readFileEncoding, see readFile' for details.
readFileUTF8 :: FilePath -> IO Stringextra System.IO.Extra readFileUTF8' :: FilePath -> IO Stringextra System.IO.Extra A strict version of readFileUTF8, see readFile' for details.
readFileBinary :: MonadIO m => FilePath -> m ByteStringrio RIO readFileUtf8 :: MonadIO m => FilePath -> m Textrio RIO Read a file in UTF8 encoding, throwing an exception on invalid character encoding. This function will use OS-specific line ending handling.
readFileQ :: FilePath -> Q Stringshakespeare Text.Shakespeare.Base Embed file's content, converting newlines
readFileRecompileQ :: FilePath -> Q Stringshakespeare Text.Shakespeare.Base Embed file's content, converting newlines and track file via ghc dependencies, recompiling on changes
readFileAsync :: Storable a => ChunkSize -> FilePath -> IO (IOError, Vector a)storablevector Data.StorableVector.Lazy The file can only closed after all values are consumed. That is you must always assert that you consume all elements of the stream, and that no values are missed due to lazy evaluation. This requirement makes this function useless in many applications.
readFileAsync :: (Size size, Storable a) => FilePath -> IO (IOError, Vector size a)storablevector Data.StorableVector.Lazy.Typed No documentation available.