comment update
This commit is contained in:
parent
042a8179e8
commit
b1e2a83556
@ -3,8 +3,6 @@
|
||||
A 'Ledger' stores, for efficiency, a 'RawLedger' plus its tree of account
|
||||
names, a map from account names to 'Account's, and the display precision.
|
||||
Typically it has also has had the uninteresting 'Entry's filtered out.
|
||||
In addition, it stores the account filter pattern and a second set of fields
|
||||
providing the filtered entries & transactions.
|
||||
|
||||
-}
|
||||
|
||||
|
||||
@ -314,8 +314,9 @@ commoditysymbol = many1 (noneOf "-.0123456789;\n ") <?> "commodity symbol"
|
||||
|
||||
-- gawd.. trying to parse a ledger number without error:
|
||||
|
||||
-- | parse a numeric quantity and also return the number of digits to the
|
||||
-- right of the decimal point and whether thousands are separated by comma
|
||||
-- | parse a ledger-style numeric quantity and also return the number of
|
||||
-- digits to the right of the decimal point and whether thousands are
|
||||
-- separated by comma.
|
||||
amountquantity :: Parser (Double, Int, Bool)
|
||||
amountquantity = do
|
||||
sign <- optionMaybe $ string "-"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user