| 
							
							
								 marko.kocic | c6eac33d32 | Hlint: Warning: Use : | 2009-09-23 09:22:53 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 1bac7a92af | don't separate differently-priced amounts any more; support for showing amounts without prices | 2009-11-25 12:19:02 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 9560073b2a | make historical prices more robust, fix a runtime Map.find error | 2009-12-09 20:51:00 +00:00 |  | 
			
				
					| 
							
							
								 marko.kocic | b197693197 | Hlint: Warning: Redundant brackets | 2009-09-22 16:51:27 +00:00 |  | 
			
				
					| 
							
							
								 marko.kocic | 8fdd28d446 | Hlint: Error: Redundant $ | 2009-09-22 11:55:11 +00:00 |  | 
			
				
					| 
							
							
								 marko.kocic | ddc176d83e | Hlint: Warning: Eta reduce | 2009-09-22 15:56:59 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | cb8ea69dfc | fix warnings all over - hledger is now -W-clean | 2009-06-05 09:44:20 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | b103f6a0d8 | be more accurate about checking balanced amounts, don't rely on display precision | 2009-05-16 22:54:12 +00:00 |  | 
			
				
					| 
							
							
								 tim | 6fdaf2a248 | Added showAmount' that shows only the number part of an amount | 2008-11-23 21:26:38 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 8bc078ff7b | fix haddock error preventing docs update | 2008-12-10 05:52:26 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | fdb45b8d9c | make mixed amount adding and showing more robust | 2008-12-05 04:36:32 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 3343e21ab1 | work towards a fix for zero-balance root account eliding | 2009-01-17 18:07:20 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 7879ca63ca | haddock | 2008-10-18 19:16:44 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 497daebd44 | docs | 2008-10-17 00:57:00 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | f40696fa47 | small doc edits | 2008-10-17 16:54:10 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | a7384a9183 | show mixed amounts vertically | 2008-11-22 09:07:04 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 4c97ca5514 | smarter handling of priced amounts. Normalising and some basic arithmetic now preserve prices. Currently, amounts with the same commodity but different prices are kept separate. Useful ? | 2008-11-22 20:30:43 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 54ee68976b | support converting amounts to cost, using their saved price. And do this by default for auto-balancing transactions, as ledger seems to. | 2008-11-22 20:32:58 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 54b164a7ab | nullamt and nullmixedamt | 2008-11-22 17:21:49 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 33f06f334e | first attempt at storing per-amount price | 2008-11-22 16:26:01 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 8e412b1be3 | autoamt -> missingamt | 2008-10-18 20:29:42 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | f3ba1eda0c | amount cleanup | 2008-10-18 20:27:25 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 0f2c8542fc | if we happen to be showing a not-yet-auto-balanced entry, hide the AUTO marker | 2008-10-16 03:55:38 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 0b23598138 | remove the hard-coded rate from Commodity | 2008-10-18 10:46:49 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 80beac7d43 | try making MixedAmount a full newtype, to avoid TypeSynonymInstances error | 2008-10-18 10:38:01 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | cc81700d2a | normalise amounts after adding them, why not | 2008-10-18 09:02:00 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | ebcf695240 | simplify, remove dead code | 2008-10-18 09:02:19 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 648887b36f | use MixedAmount everywhere. seems to work. | 2008-10-18 08:39:08 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | c444b02349 | a first cut at mixed amounts. Accounts have a MixedAmount balance, displayed on one line | 2008-10-17 03:14:23 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 5f1bec0b60 | fix the always-on thousands comma | 2008-10-15 19:54:35 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 3dca1ca548 | make isZeroAmount more robust, fix timelog balance total | 2008-10-15 07:06:02 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 1e3291af48 | focus on tests in Tests.hs, clean up | 2008-10-15 06:32:52 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 8d70ed87ea | small cleanups | 2008-10-15 02:11:30 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 3dc5f54f39 | display thousands with commas when appropriate | 2008-10-15 01:06:05 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | aac492c746 | rename amount show functions | 2008-10-15 00:37:38 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 042a8179e8 | always give a proper parse error for numbers, remember precisions and thousands separators (per amount for now) | 2008-10-14 23:14:31 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 4efdda25b4 | replace Currency with a more flexible, ledger-style Commodity | 2008-10-12 21:52:48 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 9b51d922dd | more utilities | 2008-10-11 04:18:26 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 37e75d610e | more tests cleanup.. prepare for per-module tests, but consolidate in Tests where I think we will stay | 2008-10-10 08:16:55 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | d98643a364 | tests cleanup | 2008-10-10 07:39:20 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | cdc5a23192 | clean up imports whitespace, minimise explicit intra-app import/export declarations for now | 2008-10-10 01:53:39 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 5ef0018001 | make sum[Amount] preserve currency, fix a failing test | 2008-10-03 11:15:03 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 6167dc4ed0 | don't set currency to $ when not specified in ledger | 2008-10-03 10:22:43 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 7db9c4c910 | better zero amount checking | 2008-10-03 08:21:35 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | 6ce6029c7a | move type docs to the corresponding module descriptions and update | 2008-10-03 02:04:15 +00:00 |  | 
			
				
					| 
							
							
								 Simon Michael | c699b979f8 | move the rest of the core code to the Ledger package | 2008-10-03 00:40:06 +00:00 |  |