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.
readFile :: FilePath -> IO Stringprelude-compat Prelude2010 The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO Stringrebase Rebase.Prelude The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO Stringmixed-types-num Numeric.MixedTypes.PreludeHiding The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO StringLambdaHack Game.LambdaHack.Common.File The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFile :: FilePath -> IO Stringcabal-install-solver Distribution.Solver.Compat.Prelude The readFile function reads a file and returns the contents of the file as a string. The file is read lazily, on demand, as with getContents.
readFileGhc :: FilePath -> IO Stringghc-exactprint Language.Haskell.GHC.ExactPrint.Preprocess No documentation available.
readFile :: FilePath -> IO Stringihaskell IHaskellPrelude The readFile function reads a file and returns the contents of the file as a string. The file is read strictly, as with getContents.
readFile :: FilePath -> IO StringAgda Agda.Utils.IO.UTF8 Reads a UTF8-encoded text file and converts many character sequences which may be interpreted as line or paragraph separators into 'n'. If the file cannot be decoded, then a ReadException is raised.
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.
getScriptHash :: FilePath -> IO Stringcabal-install Distribution.Client.ScriptUtils Get the hash of a script's absolute path. Two hashes will be the same as long as the absolute paths are the same.