From 4d5ff3fe4ebd5007243f24ed972813701c76d2b9 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Sun, 23 Mar 2025 21:42:18 +0100 Subject: [PATCH] ;dev: make doctest happy on ghc-8.10.7 --- hledger-lib/Hledger/Data/Posting.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hledger-lib/Hledger/Data/Posting.hs b/hledger-lib/Hledger/Data/Posting.hs index c04282848..94cccfa4b 100644 --- a/hledger-lib/Hledger/Data/Posting.hs +++ b/hledger-lib/Hledger/Data/Posting.hs @@ -116,11 +116,11 @@ import Hledger.Data.Valuation -- With --verbose-tags, the equivalent visible tags will also be added. -- These tag names are mentioned in docs and can be matched by user queries, so consider the impact before changing them. generatedTransactionTagName, modifiedTransactionTagName, costPostingTagName, conversionPostingTagName, generatedPostingTagName :: TagName -generatedTransactionTagName = "_generated-transaction" -- ^ transactions generated by a periodic txn rule -modifiedTransactionTagName = "_modified-transaction" -- ^ transactions modified by an auto posting rule -generatedPostingTagName = "_generated-posting" -- ^ postings generated by hledger for one reason or another -costPostingTagName = "_cost-posting" -- ^ postings which have or could have a cost that's equivalent to nearby conversion postings -conversionPostingTagName = "_conversion-posting" -- ^ postings to an equity account of Conversion type which have an amount that's equivalent to a nearby costful or potentially costful posting +generatedTransactionTagName = "_generated-transaction" -- transactions generated by a periodic txn rule +modifiedTransactionTagName = "_modified-transaction" -- transactions modified by an auto posting rule +generatedPostingTagName = "_generated-posting" -- postings generated by hledger for one reason or another +costPostingTagName = "_cost-posting" -- postings which have or could have a cost that's equivalent to nearby conversion postings +conversionPostingTagName = "_conversion-posting" -- postings to an equity account of Conversion type which have an amount that's equivalent to a nearby costful or potentially costful posting instance HasAmounts BalanceAssertion where styleAmounts styles ba@BalanceAssertion{baamount} = ba{baamount=styleAmounts styles baamount}