Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readJournalFiles :: InputOpts -> [PrefixedFilePath] -> ExceptT String IO Journal

    hledger-lib Hledger.Read

    Read a Journal from each specified file path (using readJournalFile) and combine them into one; or return the first error message. Combining Journals means concatenating them, basically. The parse state resets at the start of each file, which means that directives & aliases do not affect subsequent sibling or parent files. They do affect included child files though. Also the final parse state saved in the Journal does span all files. Strict checks, if enabled, are temporarily deferred until all files are read, to ensure they see the whole journal, and/or to avoid redundant work. (Some checks, like assertions and ordereddates, might still be doing redundant work ?) Writing .latest files, if enabled, is also deferred till the end, and is done only if strict checks pass.

  2. readJournalFiles' :: [PrefixedFilePath] -> IO Journal

    hledger-lib Hledger.Read

    An easy version of readJournalFiles' which assumes default options, and fails in the IO monad.

  3. readJournalFilesAndLatestDates :: InputOpts -> [PrefixedFilePath] -> ExceptT String IO (Journal, [LatestDatesForFile])

    hledger-lib Hledger.Read

    No documentation available.

  4. reader :: forall (m :: Type -> Type) . MonadIO m => SepFormat -> Reader m

    hledger-lib Hledger.Read.CsvReader

    No documentation available.

  5. reader :: forall (m :: Type -> Type) . MonadIO m => Reader m

    hledger-lib Hledger.Read.JournalReader

    No documentation available.

  6. readJournalFromCsv :: Maybe (Either CsvRules FilePath) -> FilePath -> Handle -> Maybe SepFormat -> ExceptT String IO Journal

    hledger-lib Hledger.Read.RulesReader

    Read a Journal from the given CSV data (and filename, used for error messages), or return an error. Proceed as follows:

    1. Conversion rules are provided, or they are parsed from the specified rules file, or from the default rules file for the CSV data file. If rules parsing fails, or the required rules file does not exist, throw an error.
    2. Parse the CSV data using the rules, or throw an error.
    3. Convert the CSV records to hledger transactions using the rules.
    4. Return the transactions as a Journal.

  7. reader :: forall (m :: Type -> Type) . MonadIO m => Reader m

    hledger-lib Hledger.Read.RulesReader

    No documentation available.

  8. reader :: forall (m :: Type -> Type) . MonadIO m => Reader m

    hledger-lib Hledger.Read.TimeclockReader

    No documentation available.

  9. reader :: forall (m :: Type -> Type) . MonadIO m => Reader m

    hledger-lib Hledger.Read.TimedotReader

    No documentation available.

  10. readFileOrStdinPortably :: String -> IO Text

    hledger-lib Hledger.Utils.IO

    Like readFilePortably, but read from standard input if the path is "-".

Page 203 of many | Previous | Next