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 | 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. | 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. | 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: | -- gawd.. trying to parse a ledger number without error: | ||||||
| 
 | 
 | ||||||
| -- | parse a numeric quantity and also return the number of digits to the | -- | parse a ledger-style numeric quantity and also return the number of | ||||||
| -- right of the decimal point and whether thousands are separated by comma | -- digits to the right of the decimal point and whether thousands are | ||||||
|  | -- separated by comma. | ||||||
| amountquantity :: Parser (Double, Int, Bool) | amountquantity :: Parser (Double, Int, Bool) | ||||||
| amountquantity = do | amountquantity = do | ||||||
|   sign <- optionMaybe $ string "-" |   sign <- optionMaybe $ string "-" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user