Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFileEncoding' :: TextEncoding -> FilePath -> IO Stringextra Extra A strict version of readFileEncoding, see readFile' for details.
readFileUTF8 :: FilePath -> IO Stringextra Extra readFileUTF8' :: FilePath -> IO Stringextra Extra A strict version of readFileUTF8, see readFile' for details.
-
extra Extra Read the current value of the Var.
readVersion :: Partial => String -> Versionextra Extra Read a Version or throw an exception.
\x -> readVersion (showVersion x) == x readVersion "hello" == undefined
readFile' :: FilePath -> IO Stringextra System.IO.Extra 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'.
readFileBinary :: FilePath -> IO Stringextra System.IO.Extra Like readFile, but for binary files.
readFileBinary' :: FilePath -> IO Stringextra System.IO.Extra A strict version of readFileBinary, see readFile' for details.
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.