lib: Add Functor instance for CompoundPeriodicReport.
This commit is contained in:
		
							parent
							
								
									affc8d10f2
								
							
						
					
					
						commit
						795134777c
					
				| @ -148,7 +148,7 @@ data CompoundPeriodicReport a b = CompoundPeriodicReport | |||||||
|   , cbrDates      :: [DateSpan] |   , cbrDates      :: [DateSpan] | ||||||
|   , cbrSubreports :: [(String, PeriodicReport a b, Bool)] |   , cbrSubreports :: [(String, PeriodicReport a b, Bool)] | ||||||
|   , cbrTotals     :: PeriodicReportRow () b |   , cbrTotals     :: PeriodicReportRow () b | ||||||
|   } deriving (Show, Generic, ToJSON) |   } deriving (Show, Functor, Generic, ToJSON) | ||||||
| 
 | 
 | ||||||
| -- | Description of one subreport within a compound balance report. | -- | Description of one subreport within a compound balance report. | ||||||
| -- Part of a "CompoundBalanceCommandSpec", but also used in hledger-lib. | -- Part of a "CompoundBalanceCommandSpec", but also used in hledger-lib. | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user