From f4991d05b4a2a82df0d3a9b6f9ef2830300f3e9f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 9 Jul 2020 12:55:04 -0700 Subject: [PATCH] lib: list exports of Hledger.Reports.BudgetReport --- hledger-lib/Hledger/Reports/BudgetReport.hs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/hledger-lib/Hledger/Reports/BudgetReport.hs b/hledger-lib/Hledger/Reports/BudgetReport.hs index e3cd77886..f6d1e0c64 100644 --- a/hledger-lib/Hledger/Reports/BudgetReport.hs +++ b/hledger-lib/Hledger/Reports/BudgetReport.hs @@ -7,7 +7,21 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ScopedTypeVariables #-} -module Hledger.Reports.BudgetReport +module Hledger.Reports.BudgetReport ( + BudgetGoal, + BudgetTotal, + BudgetAverage, + BudgetCell, + BudgetReportRow, + BudgetReport, + budgetReport, + budgetReportAsTable, + budgetReportAsText, + -- * Helpers + reportPeriodName, + -- * Tests + tests_BudgetReport +) where import Data.Decimal @@ -45,8 +59,8 @@ type BudgetAverage = Average -- | A budget report tracks expected and actual changes per account and subperiod. type BudgetCell = (Maybe Change, Maybe BudgetGoal) -type BudgetReport = PeriodicReport DisplayName BudgetCell type BudgetReportRow = PeriodicReportRow DisplayName BudgetCell +type BudgetReport = PeriodicReport DisplayName BudgetCell -- | Calculate budget goals from all periodic transactions, -- actual balance changes from the regular transactions,