From 795134777c7177e25591d8ddde0fb97c1a3d76fe Mon Sep 17 00:00:00 2001 From: Stephen Morgan Date: Wed, 30 Sep 2020 16:07:44 +1000 Subject: [PATCH] lib: Add Functor instance for CompoundPeriodicReport. --- hledger-lib/Hledger/Reports/ReportTypes.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Reports/ReportTypes.hs b/hledger-lib/Hledger/Reports/ReportTypes.hs index 9b6508f21..301bf331a 100644 --- a/hledger-lib/Hledger/Reports/ReportTypes.hs +++ b/hledger-lib/Hledger/Reports/ReportTypes.hs @@ -148,7 +148,7 @@ data CompoundPeriodicReport a b = CompoundPeriodicReport , cbrDates :: [DateSpan] , cbrSubreports :: [(String, PeriodicReport a b, Bool)] , cbrTotals :: PeriodicReportRow () b - } deriving (Show, Generic, ToJSON) + } deriving (Show, Functor, Generic, ToJSON) -- | Description of one subreport within a compound balance report. -- Part of a "CompoundBalanceCommandSpec", but also used in hledger-lib.