mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
a97daaf322
pretty-simple, already used in .ghci, will hopefully give nicer debug output, including for values which don't have Read-able Show output. This should mean that we can start removing custom string-like Show instances that were a workaround for pretty-show. We are using the latest version (4.0.0.0) to get compact output. Here's some old pretty-show output: CsvRules { rdirectives = [ ( "skip" , "1" ) ] , rcsvfieldindexes = [ ( "date" , 1 ) , ( "amount" , 2 ) ] , rassignments = [ ( "amount" , "%2" ) , ( "date" , "%1" ) ] , rconditionalblocks = [] } And the new pretty-simple output: CsvRules { rdirectives= [ ( "skip", "1" ) ] , rcsvfieldindexes= [ ( "date", 1 ), ( "amount", 2 ) ] , rassignments= [ ( "amount", "%2" ), ( "date", "%1" ) ] , rconditionalblocks= [] } Non-compact pretty-simple output would be: CsvRules { rdirectives= [ ( "skip" , "1B" ) ] , rcsvfieldindexes= [ ( "date" , 1 ) , ( "amount" , 2 ) ] , rassignments= [ ( "amount" , "%2" ) , ( "date" , "%1" ) ] , rconditionalblocks=[] } Also: - Account's Show instance no longer converts : to _ in account names - drop unused pretty-show dependency from hledger, hledger-ui packages - regenerate hledger-lib with the older hpack that's shipped in stack |
||
---|---|---|
.. | ||
Account.hs | ||
AccountName.hs | ||
Amount.hs | ||
Commodity.hs | ||
Dates.hs | ||
Journal.hs | ||
Json.hs | ||
Ledger.hs | ||
Period.hs | ||
PeriodicTransaction.hs | ||
Posting.hs | ||
RawOptions.hs | ||
StringFormat.hs | ||
Timeclock.hs | ||
Transaction.hs | ||
TransactionModifier.hs | ||
Types.hs | ||
Valuation.hs |