2018-10-24 20:28:52 +03:00
|
|
|
# stack build plan using GHC 8.4.3
|
2018-03-24 18:48:05 +03:00
|
|
|
|
2020-03-02 02:01:09 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2019-07-13 01:26:16 +03:00
|
|
|
resolver: lts-12.26
|
2018-03-24 18:48:05 +03:00
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
2018-04-09 03:53:23 +03:00
|
|
|
- hledger-ui
|
2018-03-24 20:23:15 +03:00
|
|
|
- hledger-web
|
2018-03-24 18:48:05 +03:00
|
|
|
|
2018-09-07 20:12:13 +03:00
|
|
|
extra-deps:
|
2020-07-14 22:08:36 +03:00
|
|
|
- ansi-terminal-0.10.3
|
2018-09-30 04:32:08 +03:00
|
|
|
- cassava-megaparsec-2.0.0
|
|
|
|
- config-ini-0.2.3.0
|
2020-03-31 01:28:11 +03:00
|
|
|
- doctest-0.16.3
|
2018-10-24 20:28:52 +03:00
|
|
|
- megaparsec-7.0.2
|
2019-11-29 02:07:09 +03:00
|
|
|
- tasty-1.2.3
|
|
|
|
- tasty-hunit-0.10.0.2
|
|
|
|
- ansi-wl-pprint-0.6.9
|
2020-03-02 02:01:09 +03:00
|
|
|
- wai-handler-launch-3.0.3.1
|
|
|
|
- streaming-commons-0.2.1.2
|
|
|
|
- network-2.7.0.0
|
2020-03-19 20:10:55 +03:00
|
|
|
- math-functions-0.3.3.0
|
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 18:08:29 +03:00
|
|
|
- pretty-simple-4.0.0.0
|
|
|
|
- prettyprinter-1.7.0
|
2020-11-11 23:52:44 +03:00
|
|
|
- prettyprinter-ansi-terminal-1.1.2
|