Commit Graph

12 Commits

Author SHA1 Message Date
Stephen Morgan
d1ae0c10d6 pkg: Bump stack lts and nightlies. 2021-11-11 18:29:50 -10:00
Simon Michael
3ef9958041 test: doctest cleanups, use latest 2021-07-20 20:38:39 -10:00
Simon Michael
dd8d6336a1 stack: 8.10: rename yaml file 2021-07-20 20:38:39 -10:00
Simon Michael
31868a6892 ;stack: build with lts-17/ghc-8.10.3 by default 2021-01-29 15:13:06 -08:00
Simon Michael
c005655311 ;stack: 8.10: bump to current nightly 2021-01-28 13:57:35 -08:00
Simon Michael
c20c1b4e2d stack: 8.10: bump to latest nightly and ghc 8.10.3 2021-01-10 07:56:18 -08:00
Simon Michael
7e667238db add missing dep for other stack snapshots; also bump GHC 8.10 to .2 2020-11-11 12:52:44 -08:00
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
Simon Michael
3575cd5958 stack: simplify 8.10 stack file, use stackage nightly 2020-07-05 06:52:16 -07:00
Simon Michael
bebd6d3184 ;stack8.10: bump to ghc 8.10.1 release 2020-06-08 15:03:04 -07:00
Simon Michael
204b747664 ;stack: drop old probably wrong note 2020-06-06 13:31:05 -07:00
Simon Michael
7b8f0d16fd ;simplify stack.yaml filenames 2020-03-30 15:35:53 -07:00