2018-10-19 00:39:30 +03:00
|
|
|
cabal-version: 1.12
|
|
|
|
|
2023-03-11 08:14:30 +03:00
|
|
|
-- This file has been generated from package.yaml by hpack version 0.35.1.
|
2015-08-13 08:45:08 +03:00
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
|
2010-03-22 04:44:59 +03:00
|
|
|
name: hledger-lib
|
2023-03-12 02:27:25 +03:00
|
|
|
version: 1.29.99
|
2020-03-22 20:49:49 +03:00
|
|
|
synopsis: A reusable library providing the core functionality of hledger
|
|
|
|
description: A reusable library containing hledger's core functionality.
|
|
|
|
This is used by most hledger* packages so that they support the same
|
|
|
|
common file formats, command line options, reports etc.
|
2016-08-09 21:27:00 +03:00
|
|
|
.
|
2020-03-22 20:49:49 +03:00
|
|
|
hledger is a robust, cross-platform set of tools for tracking money,
|
|
|
|
time, or any other commodity, using double-entry accounting and a
|
|
|
|
simple, editable file format, with command-line, terminal and web
|
|
|
|
interfaces. It is a Haskell rewrite of Ledger, and one of the leading
|
|
|
|
implementations of Plain Text Accounting. Read more at:
|
|
|
|
<https://hledger.org>
|
2017-01-17 01:23:47 +03:00
|
|
|
category: Finance
|
|
|
|
stability: stable
|
2010-03-22 04:44:59 +03:00
|
|
|
homepage: http://hledger.org
|
2015-10-30 23:08:03 +03:00
|
|
|
bug-reports: http://bugs.hledger.org
|
2017-01-17 01:23:47 +03:00
|
|
|
author: Simon Michael <simon@joyful.com>
|
|
|
|
maintainer: Simon Michael <simon@joyful.com>
|
2017-03-08 11:19:13 +03:00
|
|
|
license: GPL-3
|
2017-01-17 01:23:47 +03:00
|
|
|
license-file: LICENSE
|
2021-05-15 05:14:06 +03:00
|
|
|
build-type: Simple
|
2021-05-14 21:17:25 +03:00
|
|
|
tested-with:
|
2023-03-14 23:42:31 +03:00
|
|
|
GHC==8.10.7, GHC==9.0.2, GHC==9.2.7, GHC==9.4.4
|
2015-08-13 08:45:08 +03:00
|
|
|
extra-source-files:
|
2019-01-26 05:33:26 +03:00
|
|
|
CHANGES.md
|
2020-03-22 19:08:29 +03:00
|
|
|
README.md
|
2019-11-29 17:20:22 +03:00
|
|
|
test/unittest.hs
|
|
|
|
test/doctests.hs
|
2010-03-22 04:44:59 +03:00
|
|
|
|
2014-10-19 20:37:18 +04:00
|
|
|
source-repository head
|
2015-08-13 08:45:08 +03:00
|
|
|
type: git
|
2014-10-19 20:37:18 +04:00
|
|
|
location: https://github.com/simonmichael/hledger
|
|
|
|
|
2010-03-22 04:44:59 +03:00
|
|
|
library
|
2015-08-13 08:45:08 +03:00
|
|
|
exposed-modules:
|
|
|
|
Hledger
|
|
|
|
Hledger.Data
|
|
|
|
Hledger.Data.Account
|
|
|
|
Hledger.Data.AccountName
|
|
|
|
Hledger.Data.Amount
|
2021-08-24 05:34:32 +03:00
|
|
|
Hledger.Data.Balancing
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Dates
|
2022-05-09 21:45:27 +03:00
|
|
|
Hledger.Data.Errors
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Journal
|
2022-05-09 21:45:27 +03:00
|
|
|
Hledger.Data.JournalChecks
|
|
|
|
Hledger.Data.JournalChecks.Ordereddates
|
|
|
|
Hledger.Data.JournalChecks.Uniqueleafnames
|
2019-12-17 04:15:24 +03:00
|
|
|
Hledger.Data.Json
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Ledger
|
2016-07-29 21:00:29 +03:00
|
|
|
Hledger.Data.Period
|
2018-07-30 21:38:47 +03:00
|
|
|
Hledger.Data.PeriodicTransaction
|
2015-08-19 17:49:50 +03:00
|
|
|
Hledger.Data.StringFormat
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Posting
|
|
|
|
Hledger.Data.RawOptions
|
2016-04-13 07:10:02 +03:00
|
|
|
Hledger.Data.Timeclock
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Transaction
|
2018-07-30 21:38:47 +03:00
|
|
|
Hledger.Data.TransactionModifier
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Data.Types
|
2019-06-15 02:17:06 +03:00
|
|
|
Hledger.Data.Valuation
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Query
|
|
|
|
Hledger.Read
|
2016-05-18 05:46:54 +03:00
|
|
|
Hledger.Read.Common
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Read.CsvReader
|
2022-05-09 21:45:27 +03:00
|
|
|
Hledger.Read.InputOptions
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Read.JournalReader
|
2016-02-20 02:14:25 +03:00
|
|
|
Hledger.Read.TimedotReader
|
2016-04-13 07:10:02 +03:00
|
|
|
Hledger.Read.TimeclockReader
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Reports
|
|
|
|
Hledger.Reports.ReportOptions
|
2018-04-03 15:07:13 +03:00
|
|
|
Hledger.Reports.ReportTypes
|
2019-05-24 07:51:45 +03:00
|
|
|
Hledger.Reports.AccountTransactionsReport
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Reports.BalanceReport
|
2018-04-03 15:07:13 +03:00
|
|
|
Hledger.Reports.BudgetReport
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Reports.EntriesReport
|
2019-06-14 21:45:25 +03:00
|
|
|
Hledger.Reports.MultiBalanceReport
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Reports.PostingsReport
|
|
|
|
Hledger.Utils
|
|
|
|
Hledger.Utils.Debug
|
2022-11-05 07:39:31 +03:00
|
|
|
Hledger.Utils.IO
|
2015-08-19 23:47:26 +03:00
|
|
|
Hledger.Utils.Parse
|
2015-08-13 08:45:08 +03:00
|
|
|
Hledger.Utils.Regex
|
2015-08-19 23:47:26 +03:00
|
|
|
Hledger.Utils.String
|
|
|
|
Hledger.Utils.Test
|
lib: textification begins! account names
The first of several conversions from String to (strict) Text, hopefully
reducing space and time usage.
This one shows a small improvement, with GHC 7.10.3 and text-1.2.2.1:
hledger -f data/100x100x10.journal stats
string: <<ghc: 39471064 bytes, 77 GCs, 198421/275048 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.001 elapsed), 0.015 MUT (0.020 elapsed), 0.010 GC (0.014 elapsed) :ghc>>
text: <<ghc: 39268024 bytes, 77 GCs, 197018/270840 avg/max bytes residency (3 samples), 2M in use, 0.000 INIT (0.002 elapsed), 0.016 MUT (0.022 elapsed), 0.009 GC (0.011 elapsed) :ghc>>
hledger -f data/1000x100x10.journal stats
string: <<ghc: 318555920 bytes, 617 GCs, 2178997/7134472 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.001 elapsed), 0.129 MUT (0.136 elapsed), 0.067 GC (0.077 elapsed) :ghc>>
text: <<ghc: 314248496 bytes, 612 GCs, 2074045/6617960 avg/max bytes residency (7 samples), 16M in use, 0.000 INIT (0.003 elapsed), 0.137 MUT (0.145 elapsed), 0.067 GC (0.079 elapsed) :ghc>>
hledger -f data/10000x100x10.journal stats
string: <<ghc: 3114763608 bytes, 6026 GCs, 18858950/75552024 avg/max bytes residency (11 samples), 201M in use, 0.000 INIT (0.000 elapsed), 1.331 MUT (1.372 elapsed), 0.699 GC (0.812 elapsed) :ghc>>
text: <<ghc: 3071468920 bytes, 5968 GCs, 14120344/62951360 avg/max bytes residency (9 samples), 124M in use, 0.000 INIT (0.003 elapsed), 1.272 MUT (1.349 elapsed), 0.513 GC (0.578 elapsed) :ghc>>
hledger -f data/100000x100x10.journal stats
string: <<ghc: 31186579432 bytes, 60278 GCs, 135332581/740228992 avg/max bytes residency (13 samples), 1697M in use, 0.000 INIT (0.008 elapsed), 14.677 MUT (15.508 elapsed), 7.081 GC (8.074 elapsed) :ghc>>
text: <<ghc: 30753427672 bytes, 59763 GCs, 117595958/666457240 avg/max bytes residency (14 samples), 1588M in use, 0.000 INIT (0.008 elapsed), 13.713 MUT (13.966 elapsed), 6.220 GC (7.108 elapsed) :ghc>>
2016-05-24 04:16:21 +03:00
|
|
|
Hledger.Utils.Text
|
2018-04-03 15:07:13 +03:00
|
|
|
Text.Tabular.AsciiWide
|
2016-08-09 17:24:41 +03:00
|
|
|
other-modules:
|
2018-06-11 22:49:14 +03:00
|
|
|
Text.Megaparsec.Custom
|
2020-11-03 14:31:02 +03:00
|
|
|
Text.WideString
|
2017-03-30 07:00:16 +03:00
|
|
|
Paths_hledger_lib
|
2016-08-09 17:24:41 +03:00
|
|
|
hs-source-dirs:
|
2021-05-14 21:17:25 +03:00
|
|
|
./
|
2022-08-23 14:16:21 +03:00
|
|
|
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
2016-08-09 17:24:41 +03:00
|
|
|
build-depends:
|
2020-03-19 20:10:55 +03:00
|
|
|
Decimal >=0.5.1
|
2018-07-23 12:40:02 +03:00
|
|
|
, Glob >=0.9
|
2020-06-24 00:55:42 +03:00
|
|
|
, aeson >=1
|
2020-06-05 01:12:57 +03:00
|
|
|
, aeson-pretty
|
2020-07-14 22:09:45 +03:00
|
|
|
, ansi-terminal >=0.9
|
2016-08-09 17:24:41 +03:00
|
|
|
, array
|
2023-03-14 23:42:31 +03:00
|
|
|
, base >=4.14 && <4.19
|
|
|
|
, base-compat
|
2016-08-09 17:24:41 +03:00
|
|
|
, blaze-markup >=0.5.1
|
|
|
|
, bytestring
|
2018-08-16 08:16:09 +03:00
|
|
|
, call-stack
|
2018-09-07 20:12:13 +03:00
|
|
|
, cassava
|
|
|
|
, cassava-megaparsec
|
2017-12-31 21:03:50 +03:00
|
|
|
, cmdargs >=0.10
|
2023-01-26 13:32:19 +03:00
|
|
|
, colour >=2.3.6
|
2021-03-29 18:19:54 +03:00
|
|
|
, containers >=0.5.9
|
2016-08-09 17:24:41 +03:00
|
|
|
, data-default >=0.5
|
2022-08-23 03:11:53 +03:00
|
|
|
, deepseq
|
2016-08-09 17:24:41 +03:00
|
|
|
, directory
|
2022-06-04 13:24:56 +03:00
|
|
|
, doclayout >=0.3 && <0.5
|
2019-07-13 10:13:33 +03:00
|
|
|
, extra >=1.6.3
|
2019-01-27 02:52:58 +03:00
|
|
|
, file-embed >=0.0.10
|
2016-08-09 17:24:41 +03:00
|
|
|
, filepath
|
2018-06-05 03:02:57 +03:00
|
|
|
, hashtables >=1.2.3.1
|
2022-12-23 09:31:59 +03:00
|
|
|
, megaparsec >=7.0.0 && <9.4
|
2021-07-27 09:12:02 +03:00
|
|
|
, microlens >=0.4
|
2021-08-25 09:07:16 +03:00
|
|
|
, microlens-th >=0.4
|
2019-12-02 19:23:00 +03:00
|
|
|
, mtl >=2.2.1
|
2018-05-21 03:01:07 +03:00
|
|
|
, parser-combinators >=0.4.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 && <5
|
2016-08-09 17:24:41 +03:00
|
|
|
, regex-tdfa
|
2022-07-11 13:18:24 +03:00
|
|
|
, safe >=0.3.19
|
2018-04-03 15:07:13 +03:00
|
|
|
, tabular >=0.2
|
2019-11-27 00:56:14 +03:00
|
|
|
, tasty >=1.2.3
|
|
|
|
, tasty-hunit >=0.10.0.2
|
2019-01-27 02:52:58 +03:00
|
|
|
, template-haskell
|
2023-03-19 09:06:55 +03:00
|
|
|
, terminal-size >=0.3.3
|
2017-12-31 21:03:50 +03:00
|
|
|
, text >=1.2
|
2023-01-26 07:58:21 +03:00
|
|
|
, text-ansi >=0.2.1
|
2017-08-26 02:56:41 +03:00
|
|
|
, time >=1.5
|
2019-08-01 19:24:40 +03:00
|
|
|
, timeit
|
2017-12-31 21:03:50 +03:00
|
|
|
, transformers >=0.2
|
2016-08-09 17:24:41 +03:00
|
|
|
, uglymemo
|
2020-06-12 05:23:57 +03:00
|
|
|
, unordered-containers >=0.2
|
2017-12-31 21:03:50 +03:00
|
|
|
, utf8-string >=0.3.5
|
2018-04-22 20:12:17 +03:00
|
|
|
default-language: Haskell2010
|
2023-03-11 08:14:30 +03:00
|
|
|
if (!(os(windows)))
|
|
|
|
build-depends:
|
|
|
|
pager >=0.1.1.0
|
2018-04-22 20:12:17 +03:00
|
|
|
|
2019-11-29 17:20:22 +03:00
|
|
|
test-suite doctest
|
2018-04-22 20:12:17 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: doctests.hs
|
2018-03-06 04:27:13 +03:00
|
|
|
hs-source-dirs:
|
2021-05-14 21:17:25 +03:00
|
|
|
./
|
2018-08-18 17:11:48 +03:00
|
|
|
test
|
2022-08-23 14:16:21 +03:00
|
|
|
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
2018-03-06 04:27:13 +03:00
|
|
|
build-depends:
|
2020-03-19 20:10:55 +03:00
|
|
|
Decimal >=0.5.1
|
2018-04-22 20:12:17 +03:00
|
|
|
, Glob >=0.7
|
2020-06-24 00:55:42 +03:00
|
|
|
, aeson >=1
|
2020-06-05 01:12:57 +03:00
|
|
|
, aeson-pretty
|
2020-07-14 22:09:45 +03:00
|
|
|
, ansi-terminal >=0.9
|
2018-03-06 04:27:13 +03:00
|
|
|
, array
|
2023-03-14 23:42:31 +03:00
|
|
|
, base >=4.14 && <4.19
|
|
|
|
, base-compat
|
2018-03-06 04:27:13 +03:00
|
|
|
, blaze-markup >=0.5.1
|
|
|
|
, bytestring
|
2018-08-16 08:16:09 +03:00
|
|
|
, call-stack
|
2018-09-07 20:12:13 +03:00
|
|
|
, cassava
|
|
|
|
, cassava-megaparsec
|
2018-03-06 04:27:13 +03:00
|
|
|
, cmdargs >=0.10
|
2023-01-26 13:32:19 +03:00
|
|
|
, colour >=2.3.6
|
2021-03-29 18:19:54 +03:00
|
|
|
, containers >=0.5.9
|
2018-03-06 04:27:13 +03:00
|
|
|
, data-default >=0.5
|
2022-08-23 03:11:53 +03:00
|
|
|
, deepseq
|
2018-03-06 04:27:13 +03:00
|
|
|
, directory
|
2022-06-04 13:24:56 +03:00
|
|
|
, doclayout >=0.3 && <0.5
|
2021-07-17 06:58:57 +03:00
|
|
|
, doctest >=0.18.1
|
2019-07-13 10:13:33 +03:00
|
|
|
, extra >=1.6.3
|
2019-01-27 02:52:58 +03:00
|
|
|
, file-embed >=0.0.10
|
2018-03-06 04:27:13 +03:00
|
|
|
, filepath
|
2018-06-05 03:02:57 +03:00
|
|
|
, hashtables >=1.2.3.1
|
2022-12-23 09:31:59 +03:00
|
|
|
, megaparsec >=7.0.0 && <9.4
|
2021-07-27 09:12:02 +03:00
|
|
|
, microlens >=0.4
|
2021-08-25 09:07:16 +03:00
|
|
|
, microlens-th >=0.4
|
2019-12-02 19:23:00 +03:00
|
|
|
, mtl >=2.2.1
|
2018-05-21 03:01:07 +03:00
|
|
|
, parser-combinators >=0.4.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 && <5
|
2018-03-06 04:27:13 +03:00
|
|
|
, regex-tdfa
|
2022-07-11 13:18:24 +03:00
|
|
|
, safe >=0.3.19
|
2018-04-03 15:07:13 +03:00
|
|
|
, tabular >=0.2
|
2019-11-27 00:56:14 +03:00
|
|
|
, tasty >=1.2.3
|
|
|
|
, tasty-hunit >=0.10.0.2
|
2019-01-27 02:52:58 +03:00
|
|
|
, template-haskell
|
2023-03-19 09:06:55 +03:00
|
|
|
, terminal-size >=0.3.3
|
2018-03-06 04:27:13 +03:00
|
|
|
, text >=1.2
|
2023-01-26 07:58:21 +03:00
|
|
|
, text-ansi >=0.2.1
|
2018-03-06 04:27:13 +03:00
|
|
|
, time >=1.5
|
2019-08-01 19:24:40 +03:00
|
|
|
, timeit
|
2018-03-06 04:27:13 +03:00
|
|
|
, transformers >=0.2
|
|
|
|
, uglymemo
|
2020-06-12 05:23:57 +03:00
|
|
|
, unordered-containers >=0.2
|
2018-03-06 04:27:13 +03:00
|
|
|
, utf8-string >=0.3.5
|
2022-09-20 07:23:16 +03:00
|
|
|
default-language: Haskell2010
|
2023-03-11 08:14:30 +03:00
|
|
|
if (!(os(windows)))
|
|
|
|
build-depends:
|
|
|
|
pager >=0.1.1.0
|
2022-08-29 13:10:55 +03:00
|
|
|
if impl(ghc >= 9.0) && impl(ghc < 9.2)
|
2021-07-21 00:19:30 +03:00
|
|
|
buildable: False
|
2019-11-29 01:45:10 +03:00
|
|
|
|
2019-11-29 17:20:22 +03:00
|
|
|
test-suite unittest
|
2019-11-29 01:45:10 +03:00
|
|
|
type: exitcode-stdio-1.0
|
2019-11-29 17:20:22 +03:00
|
|
|
main-is: unittest.hs
|
2019-11-29 01:45:10 +03:00
|
|
|
hs-source-dirs:
|
2021-05-14 21:17:25 +03:00
|
|
|
./
|
2019-11-29 01:45:10 +03:00
|
|
|
test
|
2022-08-23 14:16:21 +03:00
|
|
|
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
2019-11-29 01:45:10 +03:00
|
|
|
build-depends:
|
2020-03-19 20:10:55 +03:00
|
|
|
Decimal >=0.5.1
|
2019-11-29 01:45:10 +03:00
|
|
|
, Glob >=0.9
|
2020-06-24 00:55:42 +03:00
|
|
|
, aeson >=1
|
2020-06-05 01:12:57 +03:00
|
|
|
, aeson-pretty
|
2020-07-14 22:09:45 +03:00
|
|
|
, ansi-terminal >=0.9
|
2019-11-29 01:45:10 +03:00
|
|
|
, array
|
2023-03-14 23:42:31 +03:00
|
|
|
, base >=4.14 && <4.19
|
|
|
|
, base-compat
|
2019-11-29 01:45:10 +03:00
|
|
|
, blaze-markup >=0.5.1
|
|
|
|
, bytestring
|
|
|
|
, call-stack
|
|
|
|
, cassava
|
|
|
|
, cassava-megaparsec
|
|
|
|
, cmdargs >=0.10
|
2023-01-26 13:32:19 +03:00
|
|
|
, colour >=2.3.6
|
2021-03-29 18:19:54 +03:00
|
|
|
, containers >=0.5.9
|
2019-11-29 01:45:10 +03:00
|
|
|
, data-default >=0.5
|
2022-08-23 03:11:53 +03:00
|
|
|
, deepseq
|
2019-11-29 01:45:10 +03:00
|
|
|
, directory
|
2022-06-04 13:24:56 +03:00
|
|
|
, doclayout >=0.3 && <0.5
|
2019-11-29 01:45:10 +03:00
|
|
|
, extra >=1.6.3
|
|
|
|
, file-embed >=0.0.10
|
|
|
|
, filepath
|
|
|
|
, hashtables >=1.2.3.1
|
|
|
|
, hledger-lib
|
2022-12-23 09:31:59 +03:00
|
|
|
, megaparsec >=7.0.0 && <9.4
|
2021-07-27 09:12:02 +03:00
|
|
|
, microlens >=0.4
|
2021-08-25 09:07:16 +03:00
|
|
|
, microlens-th >=0.4
|
2019-12-02 19:23:00 +03:00
|
|
|
, mtl >=2.2.1
|
2019-11-29 01:45:10 +03:00
|
|
|
, parser-combinators >=0.4.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 && <5
|
2019-11-29 01:45:10 +03:00
|
|
|
, regex-tdfa
|
2022-07-11 13:18:24 +03:00
|
|
|
, safe >=0.3.19
|
2019-11-29 01:45:10 +03:00
|
|
|
, tabular >=0.2
|
|
|
|
, tasty >=1.2.3
|
|
|
|
, tasty-hunit >=0.10.0.2
|
|
|
|
, template-haskell
|
2023-03-19 09:06:55 +03:00
|
|
|
, terminal-size >=0.3.3
|
2019-11-29 01:45:10 +03:00
|
|
|
, text >=1.2
|
2023-01-26 07:58:21 +03:00
|
|
|
, text-ansi >=0.2.1
|
2019-11-29 01:45:10 +03:00
|
|
|
, time >=1.5
|
|
|
|
, timeit
|
|
|
|
, transformers >=0.2
|
|
|
|
, uglymemo
|
2020-06-12 05:23:57 +03:00
|
|
|
, unordered-containers >=0.2
|
2019-11-29 01:45:10 +03:00
|
|
|
, utf8-string >=0.3.5
|
|
|
|
buildable: True
|
|
|
|
default-language: Haskell2010
|
2023-03-11 08:14:30 +03:00
|
|
|
if (!(os(windows)))
|
|
|
|
build-depends:
|
|
|
|
pager >=0.1.1.0
|