hledger/hledger-lib
Stephen Morgan 4a80551406 fix: price: Make sure inferred market prices have the correct sign with
total prices. (#1813)

Also reduce duplication for inferring market prices (previously it was
done separately in both Hledger.Data.Journal and
Hledger.Cli.Commands.Prices), and remove *TotalPriceToUnitPrice
functions, since unit prices cannot represent all total prices.

Add a helper function numDigitsInt to get the number of digits in an
integer, which has a surprising number of ways to get it wrong.
2022-03-10 17:34:49 -10:00
..
Hledger fix: price: Make sure inferred market prices have the correct sign with 2022-03-10 17:34:49 -10:00
other/ledger-parse cln: hlint: Clean up Functor related hlint warnings, and NOINLINE warning. 2021-08-27 06:13:56 -10:00
test test: doctest cleanups, use latest 2021-07-20 20:38:39 -10:00
Text cln: Silence build warning due to redundant import. 2021-11-11 19:42:06 -10:00
.date.m4 ;doc: update manuals 2021-12-01 17:16:04 -10:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
.version ;pkg: bump version to 1.25.99 2022-03-05 13:24:48 -10:00
.version.m4 ;pkg: bump version to 1.25.99 2022-03-05 13:24:48 -10:00
CHANGES.md ;doc: update changelogs 2022-03-10 16:55:46 -10:00
hledger-lib.cabal ;cabal: update cabal files 2022-03-05 13:24:48 -10:00
Hledger.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
package.yaml ;pkg: bump version to 1.25.99 2022-03-05 13:24:48 -10:00
README.md ;doc: more tweaks to package readmes, hackage descriptions 2020-03-22 10:49:02 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

hledger-lib

A reusable library containing hledgers core functionality. This is used by most hledger* packages so that they support the same common file formats, command line options, reports etc.

See also: the project README and home page.