hledger/hledger-ui
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
..
Hledger lib,ui: Make sure ReportSpec is updated when updating ReportOpts. 2020-11-09 16:30:15 -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 ;update changelogs 2020-11-04 06:52:15 -10:00
defs.m4 ;update manuals 2020-10-18 16:01:59 -07:00
hledger-ui.1 ;update manuals 2020-10-18 16:01:59 -07:00
hledger-ui.cabal lib: replace pretty-show with pretty-simple 2020-11-10 08:06:11 -08:00
hledger-ui.hs ui: fix stack ghci does not export main warning 2016-04-18 15:48:18 -07:00
hledger-ui.info ;update manuals 2020-09-07 12:17:35 -07:00
hledger-ui.m4.md ui: ESC now restores exactly to initial app state (#1286) 2020-07-18 12:24:37 -07:00
hledger-ui.txt ;update manuals 2020-10-18 16:01:59 -07:00
LICENSE ui: revive the curses UI, now named hledger-ui 2015-08-13 11:22:40 -07: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 ui: revive the curses UI, now named hledger-ui 2015-08-13 11:22:40 -07:00

hledger-ui

A simple curses-style text user interface for the hledger accounting system. It can be a more convenient way to browse your accounts than the CLI. This package currently does not support Microsoft Windows, except in WSL.

See also: the project README and home page.