hledger/hledger-lib
Simon Michael c31710d942 look harder for decimal point & digit groups (fixes #196)
Amount display styles have been reworked a bit; they are now calculated
after journal parsing, not during it. This allows the fix for #196:
we now search through the amounts until a decimal point is detected,
instead of just looking at the first one; likewise for digit groups.
Digit groups are now implemented with a better type.

Digit group size detection has been improved a little:
1000,000 now gives group sizes [3,4,4,...], not [3,3,...], and
10,000 gives groups sizes [3,3,...] not [3,2,2,..].
(To get [3,2,2,...] you'd use eg 00,00,000.)

There are still some old (or new ?) issues; I don't think we handle
inconsistent decimal points & digit groups too well. But for now all
tests pass.
2014-07-02 23:26:16 -07:00
..
Hledger look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00
tests Add cabal testsuite for hledger-lib. 2013-05-15 15:56:01 -04:00
CHANGES a few tweaks 2014-06-24 14:51:09 -07:00
hledger-lib.cabal allow transformers 0.4* 2014-06-21 20:13:16 -07:00
Hledger.hs promote Hledger.Query to second level 2012-05-16 07:57:10 +00:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00