update main description
This commit is contained in:
		
							parent
							
								
									6ce6029c7a
								
							
						
					
					
						commit
						5531918b8c
					
				
							
								
								
									
										14
									
								
								NOTES
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								NOTES
									
									
									
									
									
								
							| @ -107,3 +107,17 @@ are there any cashflow, tax, budgetary problems looming ? | |||||||
| *** http://www.n-heptane.com/nhlab/repos/Decimal/ | *** http://www.n-heptane.com/nhlab/repos/Decimal/ | ||||||
| *** http://www.n-heptane.com/nhlab/repos/Decimal/Money.hs | *** http://www.n-heptane.com/nhlab/repos/Decimal/Money.hs | ||||||
| *** http://www2.hursley.ibm.com/decimal/ | *** http://www2.hursley.ibm.com/decimal/ | ||||||
|  | *** import hierarchy | ||||||
|  |    "Parse" | ||||||
|  |    "TimeLog" | ||||||
|  |    "Ledger" | ||||||
|  |     "Account" | ||||||
|  |      "Transaction" | ||||||
|  |     "RawLedger" | ||||||
|  |      "LedgerEntry" | ||||||
|  |       "RawTransaction" | ||||||
|  |        "AccountName" | ||||||
|  |        "Amount" | ||||||
|  |         "Currency" | ||||||
|  |          "Types" | ||||||
|  |           "Utils" | ||||||
|  | |||||||
							
								
								
									
										25
									
								
								hledger.hs
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								hledger.hs
									
									
									
									
									
								
							| @ -11,31 +11,6 @@ simple ledger-compatible register & balance reports from a standard | |||||||
| ledger file, and demonstrates a (naive) purely functional | ledger file, and demonstrates a (naive) purely functional | ||||||
| implementation of ledger. | implementation of ledger. | ||||||
| 
 | 
 | ||||||
| Code organization: the early code defined each major type and their |  | ||||||
| associated functions in a module. This was too restrictive, so now most |  | ||||||
| types are defined in "Ledger.Types" at the bottom. The original modules are still |  | ||||||
| used to group functions related to each type.  Here is the approximate |  | ||||||
| import hierarchy: |  | ||||||
| 
 |  | ||||||
| @ |  | ||||||
| hledger ("Main") |  | ||||||
|  "Tests" |  | ||||||
|  "Parse" |  | ||||||
|   "Options" |  | ||||||
|    "TimeLog" |  | ||||||
|    "Ledger" |  | ||||||
|     "Account" |  | ||||||
|      "Transaction" |  | ||||||
|     "RawLedger" |  | ||||||
|      "LedgerEntry" |  | ||||||
|       "RawTransaction" |  | ||||||
|        "AccountName" |  | ||||||
|        "Amount" |  | ||||||
|         "Currency" |  | ||||||
|          "Ledger.Types" |  | ||||||
|           "Ledger.Utils" |  | ||||||
| @ |  | ||||||
| 
 |  | ||||||
| This module includes some helpers for querying your ledger in ghci. Examples: | This module includes some helpers for querying your ledger in ghci. Examples: | ||||||
| 
 | 
 | ||||||
| > $ rm -f hledger.o | > $ rm -f hledger.o | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user