Commit Graph

10 Commits

Author SHA1 Message Date
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
3a3453ff67 ;stack8.0: sort, attempt to update build plan for hledger-web 2020-06-07 11:29:52 -07:00
Simon Michael
204b747664 ;stack: drop old probably wrong note 2020-06-06 13:31:05 -07:00
Simon Michael
97f22c40f6 ;lib: fix build plan with ghc 8.0 2020-06-06 13:30:10 -07:00
Simon Michael
7b8f0d16fd ;simplify stack.yaml filenames 2020-03-30 15:35:53 -07:00
Simon Michael
60ea1151ad rename stack.yaml files 2018-03-24 15:47:06 +00:00
Simon Michael
99dfcd9e90 stack, hakyll-std: use latest snapshots 2017-12-06 20:57:14 -08:00
Simon Michael
025a2375bd stack: more thorough make test-stackage (test and bench) 2017-09-08 10:26:40 -07:00
Simon Michael
1f2b00ee3b stack: update stackage configs for 3 ghcs, switch to 8.2.1 as default
Building with same GHC as stackage nightly is a good idea for noticing
problems keeping us out of stackage. make test-stackage is a start at
checking for stackage problems with the last three GHC versions.
2017-09-08 07:57:07 -07:00