hledger-lib-1.11: Core data types, parsers and functionality for the hledger accounting tools

Hledger.Reports.ReportTypes

Description

New common report types, used by the BudgetReport for now, perhaps all reports later.

Synopsis

# Documentation

type Change Source #

Arguments

 = MixedAmount A change in balance during a certain period.

type Balance Source #

Arguments

 = MixedAmount An ending balance as of some date.

type Total Source #

Arguments

 = MixedAmount The sum of Changes in a report or a report row. Does not make sense for Balances.

type Average Source #

Arguments

 = MixedAmount The average of Changes or Balances in a report or report row.

A generic tabular report of some value, where each row corresponds to an account and each column is a date period. The column periods are usually consecutive subperiods formed by splitting the overall report period by some report interval (daily, weekly, etc.) Depending on the value type, this can be a report of balance changes, ending balances, budget performance, etc. Successor to MultiBalanceReport.

Constructors

 PeriodicReport ([DateSpan], [PeriodicReportRow a], PeriodicReportRow a)
Instances
 Show a => Show (PeriodicReport a) Source # Instance detailsDefined in Hledger.Reports.ReportTypes MethodsshowsPrec :: Int -> PeriodicReport a -> ShowS #showList :: [PeriodicReport a] -> ShowS #