Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readFile :: (Encoding e, ?enc :: e) => FilePath -> IO Stringencoding System.IO.Encoding 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 :: MonadIO m => FilePath -> m Textwith-utf8 Data.Text.IO.Utf8 Like readFile, but assumes the file is encoded in UTF-8, regardless of the current locale.
readFile :: MonadIO m => FilePath -> m Textwith-utf8 Data.Text.Lazy.IO.Utf8 Like readFile, but assumes the file is encoded in UTF-8, regardless of the current locale.
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.
readFile :: Fractional time => FilePath -> IO (T time String)audacity Sound.Audacity.LabelTrack Read label file in a strict way.
readFile :: Storable a => Path w a -> IO (T w a)battleship-combinatorics Combinatorics.Battleship.Count.CountMap It silently drops IO exceptions and does not check whether the loaded data is valid.
readFile :: Interactive m => FilePath -> m Stringcabal-install Distribution.Client.Init.Types No documentation available.
readFile :: (IOData a, MonadIO m) => FilePath -> m achunked-data Data.IOData No documentation available.
readFile :: FilePath -> IO Stringclash-prelude Clash.HaskellPrelude 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.