hledger/hledger
Simon Michael a97daaf322 lib: replace pretty-show with pretty-simple
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
2020-11-10 08:06:11 -08:00
..
app tools: fix warnings in simplebench 2014-10-19 09:34:46 -07:00
bench ;review, tag all error calls with an easier to find PARTIAL: comment (#1312) 2020-08-05 16:08:33 -07:00
embeddedfiles ;api, ci: drop old embedded doc symlinks, should fix CI 2020-04-20 18:25:08 -07:00
Hledger ;update CLI usage texts 2020-11-09 17:14:38 -08:00
test ;ci: use --pedantic for all; fix a warning with unit test suites 2020-03-07 14:43:50 -08:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ; bump hledger-lib, hledger, hledger-ui, hledger-web version to 1.19.99 2020-09-07 12:16:12 -07:00
CHANGES.md ;changelog tweak 2020-11-04 21:10:45 -10:00
defs.m4 ;update manuals 2020-10-18 16:01:59 -07:00
hledger.1 ;update manuals 2020-11-09 17:14:38 -08:00
hledger.cabal lib: replace pretty-show with pretty-simple 2020-11-10 08:06:11 -08:00
hledger.info ;update manuals 2020-11-09 17:14:38 -08:00
hledger.m4.md ;doc: valuation: try to clarify effect on reports table (#1380) 2020-11-09 18:04:35 -08:00
hledger.txt ;update manuals 2020-11-09 17:14:38 -08:00
LICENSE packagegeddon.. split off web/chart/vty, move hledger to a subdir 2010-09-09 22:54:34 +00:00
package.yaml lib: replace pretty-show with pretty-simple 2020-11-10 08:06:11 -08:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger

The command-line interface for the hledger accounting system. Its basic function is to read a plain text file describing financial transactions and produce useful reports.

See also: the project README and home page.