Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFileMaybe :: FilePath -> IO (Maybe ByteString)tasty-silver Test.Tasty.Silver.Advanced Read the file if it exists, else return Nothing. Useful for reading golden files.
readFileMaybe :: FilePath -> IO (Maybe ByteString)tasty-silver Test.Tasty.Silver.Internal Read the file if it exists, else return Nothing. Useful for reading golden files.
readFilePM :: RangeFile -> PM TextAgda Agda.Syntax.Parser Returns the contents of the given file.
readFileStrict :: FilePath -> IO ByteStringTCache Data.TCache.Defs Strict read from file, needed for default file persistence
readFileIfAny :: FilePath -> IO Stringaftovolio Data.ChooseLine2 Inspired by: 'https://hackage.haskell.org/package/base-4.15.0.0/docs/src/GHC-IO.html#catch' Is taken from the https:/hackage.haskell.orgpackagestring-interpreter-0.8.0.0docssrcInterpreter.StringConversion.html#readFileIfAny to reduce general quantity of dependencies. Reads a textual file given by its FilePath and returns its contents lazily. If there is some IOException thrown or an empty file then returns just "". Raises an exception for the binary file.
readFile' :: FilePath -> IO Textcabal-debian Debian.Debianize.Prelude No documentation available.
readFileMaybe :: FilePath -> IO (Maybe Text)cabal-debian Debian.Debianize.Prelude No documentation available.
readFileHashValue :: FilePath -> IO HashValuecabal-install Distribution.Client.HashValue Hash the content of a file. Uses SHA256.
readFileHistogram :: (Read bin, Read a, Bin bin, Unbox a) => FilePath -> IO (Histogram bin a)histogram-fill Data.Histogram No documentation available.
-
histogram-fill Data.Histogram.Generic Read histogram from file.