hledger-lib 1.27 → 1.27.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Hledger.Data.Balancing: balancingOpts :: HasBalancingOpts c_a3v1G => Lens' c_a3v1G BalancingOpts
+ Hledger.Data.Balancing: balancingOpts :: HasBalancingOpts c_a3v1I => Lens' c_a3v1I BalancingOpts
- Hledger.Data.Balancing: class HasBalancingOpts c_a3v1G
+ Hledger.Data.Balancing: class HasBalancingOpts c_a3v1I
- Hledger.Data.Balancing: commodity_styles :: HasBalancingOpts c_a3v1G => Lens' c_a3v1G (Maybe (Map CommoditySymbol AmountStyle))
+ Hledger.Data.Balancing: commodity_styles :: HasBalancingOpts c_a3v1I => Lens' c_a3v1I (Maybe (Map CommoditySymbol AmountStyle))
- Hledger.Data.Balancing: ignore_assertions :: HasBalancingOpts c_a3v1G => Lens' c_a3v1G Bool
+ Hledger.Data.Balancing: ignore_assertions :: HasBalancingOpts c_a3v1I => Lens' c_a3v1I Bool
- Hledger.Data.Balancing: infer_transaction_prices :: HasBalancingOpts c_a3v1G => Lens' c_a3v1G Bool
+ Hledger.Data.Balancing: infer_transaction_prices :: HasBalancingOpts c_a3v1I => Lens' c_a3v1I Bool
- Hledger.Read.Common: aliases :: HasInputOpts c_a3J4P => Lens' c_a3J4P [String]
+ Hledger.Read.Common: aliases :: HasInputOpts c_a3J4R => Lens' c_a3J4R [String]
- Hledger.Read.Common: anon__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: anon__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: auto__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: auto__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: balancingopts :: HasInputOpts c_a3J4P => Lens' c_a3J4P BalancingOpts
+ Hledger.Read.Common: balancingopts :: HasInputOpts c_a3J4R => Lens' c_a3J4R BalancingOpts
- Hledger.Read.Common: class HasInputOpts c_a3J4P
+ Hledger.Read.Common: class HasInputOpts c_a3J4R
- Hledger.Read.Common: forecast :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe DateSpan)
+ Hledger.Read.Common: forecast :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe DateSpan)
- Hledger.Read.Common: infer_costs :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: infer_costs :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: infer_equity :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: infer_equity :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: inputOpts :: HasInputOpts c_a3J4P => Lens' c_a3J4P InputOpts
+ Hledger.Read.Common: inputOpts :: HasInputOpts c_a3J4R => Lens' c_a3J4R InputOpts
- Hledger.Read.Common: ioDay :: HasInputOpts c_a3J4P => Lens' c_a3J4P Day
+ Hledger.Read.Common: ioDay :: HasInputOpts c_a3J4R => Lens' c_a3J4R Day
- Hledger.Read.Common: mformat :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe StorageFormat)
+ Hledger.Read.Common: mformat :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe StorageFormat)
- Hledger.Read.Common: mrules_file :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe FilePath)
+ Hledger.Read.Common: mrules_file :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe FilePath)
- Hledger.Read.Common: new__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: new__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: new_save :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: new_save :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.Common: pivot :: HasInputOpts c_a3J4P => Lens' c_a3J4P String
+ Hledger.Read.Common: pivot :: HasInputOpts c_a3J4R => Lens' c_a3J4R String
- Hledger.Read.Common: reportspan :: HasInputOpts c_a3J4P => Lens' c_a3J4P DateSpan
+ Hledger.Read.Common: reportspan :: HasInputOpts c_a3J4R => Lens' c_a3J4R DateSpan
- Hledger.Read.Common: strict :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.Common: strict :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: aliases :: HasInputOpts c_a3J4P => Lens' c_a3J4P [String]
+ Hledger.Read.InputOptions: aliases :: HasInputOpts c_a3J4R => Lens' c_a3J4R [String]
- Hledger.Read.InputOptions: anon__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: anon__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: auto__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: auto__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: balancingopts :: HasInputOpts c_a3J4P => Lens' c_a3J4P BalancingOpts
+ Hledger.Read.InputOptions: balancingopts :: HasInputOpts c_a3J4R => Lens' c_a3J4R BalancingOpts
- Hledger.Read.InputOptions: class HasInputOpts c_a3J4P
+ Hledger.Read.InputOptions: class HasInputOpts c_a3J4R
- Hledger.Read.InputOptions: forecast :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe DateSpan)
+ Hledger.Read.InputOptions: forecast :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe DateSpan)
- Hledger.Read.InputOptions: infer_costs :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: infer_costs :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: infer_equity :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: infer_equity :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: inputOpts :: HasInputOpts c_a3J4P => Lens' c_a3J4P InputOpts
+ Hledger.Read.InputOptions: inputOpts :: HasInputOpts c_a3J4R => Lens' c_a3J4R InputOpts
- Hledger.Read.InputOptions: ioDay :: HasInputOpts c_a3J4P => Lens' c_a3J4P Day
+ Hledger.Read.InputOptions: ioDay :: HasInputOpts c_a3J4R => Lens' c_a3J4R Day
- Hledger.Read.InputOptions: mformat :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe StorageFormat)
+ Hledger.Read.InputOptions: mformat :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe StorageFormat)
- Hledger.Read.InputOptions: mrules_file :: HasInputOpts c_a3J4P => Lens' c_a3J4P (Maybe FilePath)
+ Hledger.Read.InputOptions: mrules_file :: HasInputOpts c_a3J4R => Lens' c_a3J4R (Maybe FilePath)
- Hledger.Read.InputOptions: new__ :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: new__ :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: new_save :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: new_save :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Read.InputOptions: pivot :: HasInputOpts c_a3J4P => Lens' c_a3J4P String
+ Hledger.Read.InputOptions: pivot :: HasInputOpts c_a3J4R => Lens' c_a3J4R String
- Hledger.Read.InputOptions: reportspan :: HasInputOpts c_a3J4P => Lens' c_a3J4P DateSpan
+ Hledger.Read.InputOptions: reportspan :: HasInputOpts c_a3J4R => Lens' c_a3J4R DateSpan
- Hledger.Read.InputOptions: strict :: HasInputOpts c_a3J4P => Lens' c_a3J4P Bool
+ Hledger.Read.InputOptions: strict :: HasInputOpts c_a3J4R => Lens' c_a3J4R Bool
- Hledger.Reports.ReportOptions: accountlistmode :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG AccountListMode
+ Hledger.Reports.ReportOptions: accountlistmode :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI AccountListMode
- Hledger.Reports.ReportOptions: average :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: average :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: balanceaccum :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG BalanceAccumulation
+ Hledger.Reports.ReportOptions: balanceaccum :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI BalanceAccumulation
- Hledger.Reports.ReportOptions: balancecalc :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG BalanceCalculation
+ Hledger.Reports.ReportOptions: balancecalc :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI BalanceCalculation
- Hledger.Reports.ReportOptions: budgetpat :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG (Maybe Text)
+ Hledger.Reports.ReportOptions: budgetpat :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI (Maybe Text)
- Hledger.Reports.ReportOptions: class HasReportOptsNoUpdate c_a3QNG
+ Hledger.Reports.ReportOptions: class HasReportOptsNoUpdate c_a3QNI
- Hledger.Reports.ReportOptions: class HasReportSpec c_a3RLv
+ Hledger.Reports.ReportOptions: class HasReportSpec c_a3RLx
- Hledger.Reports.ReportOptions: color__ :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: color__ :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: conversionop :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG (Maybe ConversionOp)
+ Hledger.Reports.ReportOptions: conversionop :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI (Maybe ConversionOp)
- Hledger.Reports.ReportOptions: date2NoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: date2NoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: declared :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: declared :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: depthNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG (Maybe Int)
+ Hledger.Reports.ReportOptions: depthNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI (Maybe Int)
- Hledger.Reports.ReportOptions: drop__ :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Int
+ Hledger.Reports.ReportOptions: drop__ :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Int
- Hledger.Reports.ReportOptions: empty__ :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: empty__ :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: format :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG StringFormat
+ Hledger.Reports.ReportOptions: format :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI StringFormat
- Hledger.Reports.ReportOptions: infer_prices :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: infer_prices :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: interval :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Interval
+ Hledger.Reports.ReportOptions: interval :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Interval
- Hledger.Reports.ReportOptions: invert :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: invert :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: layout :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Layout
+ Hledger.Reports.ReportOptions: layout :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Layout
- Hledger.Reports.ReportOptions: no_elide :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: no_elide :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: no_total :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: no_total :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: normalbalance :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG (Maybe NormalSign)
+ Hledger.Reports.ReportOptions: normalbalance :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI (Maybe NormalSign)
- Hledger.Reports.ReportOptions: percent :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: percent :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: periodNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Period
+ Hledger.Reports.ReportOptions: periodNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Period
- Hledger.Reports.ReportOptions: pretty :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: pretty :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: querystringNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG [Text]
+ Hledger.Reports.ReportOptions: querystringNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI [Text]
- Hledger.Reports.ReportOptions: realNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: realNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: related :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: related :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: reportOptsNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG ReportOpts
+ Hledger.Reports.ReportOptions: reportOptsNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI ReportOpts
- Hledger.Reports.ReportOptions: reportSpec :: HasReportSpec c_a3RLv => Lens' c_a3RLv ReportSpec
+ Hledger.Reports.ReportOptions: reportSpec :: HasReportSpec c_a3RLx => Lens' c_a3RLx ReportSpec
- Hledger.Reports.ReportOptions: row_total :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: row_total :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: rsDay :: HasReportSpec c_a3RLv => Lens' c_a3RLv Day
+ Hledger.Reports.ReportOptions: rsDay :: HasReportSpec c_a3RLx => Lens' c_a3RLx Day
- Hledger.Reports.ReportOptions: rsQuery :: HasReportSpec c_a3RLv => Lens' c_a3RLv Query
+ Hledger.Reports.ReportOptions: rsQuery :: HasReportSpec c_a3RLx => Lens' c_a3RLx Query
- Hledger.Reports.ReportOptions: rsQueryOpts :: HasReportSpec c_a3RLv => Lens' c_a3RLv [QueryOpt]
+ Hledger.Reports.ReportOptions: rsQueryOpts :: HasReportSpec c_a3RLx => Lens' c_a3RLx [QueryOpt]
- Hledger.Reports.ReportOptions: rsReportOpts :: HasReportSpec c_a3RLv => Lens' c_a3RLv ReportOpts
+ Hledger.Reports.ReportOptions: rsReportOpts :: HasReportSpec c_a3RLx => Lens' c_a3RLx ReportOpts
- Hledger.Reports.ReportOptions: show_costs :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: show_costs :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: sort_amount :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: sort_amount :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: statusesNoUpdate :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG [Status]
+ Hledger.Reports.ReportOptions: statusesNoUpdate :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI [Status]
- Hledger.Reports.ReportOptions: transpose__ :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: transpose__ :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: txn_dates :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG Bool
+ Hledger.Reports.ReportOptions: txn_dates :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI Bool
- Hledger.Reports.ReportOptions: value :: HasReportOptsNoUpdate c_a3QNG => Lens' c_a3QNG (Maybe ValuationType)
+ Hledger.Reports.ReportOptions: value :: HasReportOptsNoUpdate c_a3QNI => Lens' c_a3QNI (Maybe ValuationType)
Files
- Hledger/Reports/ReportTypes.hs +1/−1
- hledger-lib.cabal +1/−1
Hledger/Reports/ReportTypes.hs view
@@ -89,7 +89,7 @@ } deriving (Show, Functor, Generic, ToJSON) instance Bifunctor PeriodicReport where- bimap f g pr = pr{prRows = map (bimap f g) $ prRows pr, prTotals = fmap g $ prTotals pr}+ bimap f g pr = pr{prRows = map (bimap f g) $ prRows pr, prTotals = g <$> prTotals pr} data PeriodicReportRow a b = PeriodicReportRow
hledger-lib.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hledger-lib-version: 1.27+version: 1.27.1 synopsis: A reusable library providing the core functionality of hledger description: A reusable library containing hledger's core functionality. This is used by most hledger* packages so that they support the same