Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
reader :: forall (m :: Type -> Type) . MonadIO m => Reader mhledger-lib Hledger.Read.TimedotReader No documentation available.
readFileOrStdinPortably :: String -> IO Texthledger-lib Hledger.Utils.IO Like readFilePortably, but read from standard input if the path is "-".
readFileOrStdinPortably' :: Maybe DynEncoding -> String -> IO Texthledger-lib Hledger.Utils.IO Like readFileOrStdinPortably, but take an optional converter.
readFilePortably :: FilePath -> IO Texthledger-lib Hledger.Utils.IO Read text from a file, converting any rn line endings to n,, using the system locale's text encoding, ignoring any utf8 BOM prefix (as seen in paypal's 2018 CSV, eg) if that encoding is utf8.
readFileStrictly :: FilePath -> IO Texthledger-lib Hledger.Utils.IO Like readFilePortably, but read all of the file before proceeding.
readHandlePortably :: Handle -> IO Texthledger-lib Hledger.Utils.IO No documentation available.
readHandlePortably' :: Maybe DynEncoding -> Handle -> IO Texthledger-lib Hledger.Utils.IO Read text from a handle with a specified encoding, using the encoding package. Or if no encoding is specified, it uses the handle's current encoding, after first changing it to UTF-8BOM if it was UTF-8, to allow a Byte Order Mark at the start. Also it converts Windows line endings to newlines. If decoding fails, this throws an IOException (or possibly a UnicodeException or something else from the encoding package).
readDecimal :: Text -> Integerhledger-lib Hledger.Utils.Text Read a decimal number from a Text. Assumes the input consists only of digit characters.
readMix :: [FilePath] -> Either String TixModule -> IO Mixhpc Trace.Hpc.Mix Read a mix file.
readTix :: FilePath -> IO (Maybe Tix)hpc Trace.Hpc.Tix Read a .tix File.