From f89cd1867d2e751833d0676b6e89bb0dc23dacb7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 1 May 2007 07:15:53 +0000 Subject: [PATCH] cleanups --- Account.hs | 4 ++-- NOTES | 37 ++++++++++++++++--------------------- hledger.hs | 4 ++-- 3 files changed, 20 insertions(+), 25 deletions(-) diff --git a/Account.hs b/Account.hs index 8950b637e..0bb35e39b 100644 --- a/Account.hs +++ b/Account.hs @@ -59,7 +59,7 @@ addDataToAccountNameTree l ant = -- balance report support -- --- some examples, ignoring the issue of eliding boring accounts +-- examples, ignoring the issue of eliding boring accounts: -- here is a sample account tree: -- -- assets @@ -116,7 +116,7 @@ ledgerAccountTreeMatching l acctpats showsubs maxdepth = -- 2. inner accounts with 0 transactions and 1 subaccount are displayed as -- a prefix of the sub -- --- so, for example: +-- example: -- -- a (0 txns) -- b (0 txns) diff --git a/NOTES b/NOTES index be8f02bcb..9dde91f04 100644 --- a/NOTES +++ b/NOTES @@ -1,25 +1,7 @@ * TO DO -** feature: read timelog files -*** timelog parser - handle time amounts - switch to Data.Time.* - fix errors - - read seconds to pico - try System.Time ? - -*** fix up Amounts -**** allow flexible display by currency -**** allow parsing by currency -**** fix arithmetic - -** optimization: add CookedLedger caching txns etc. -*** profile again - -** speed -*** profile, refactor, optimize - CookedLedger caching acct txns, boring status etc. - refactor apis - +** make balance fast +*** TODO profile again +*** TODO add CookedLedger caching txns etc. ** basic features *** print *** !include @@ -35,6 +17,19 @@ *** other args, directives ** new features +*** feature: read timelog files +**** fix up Amounts +***** allow flexible display by currency +***** allow parsing by currency +***** fix arithmetic + +**** timelog parser + handle time amounts + switch to Data.Time.* + fix errors + - read seconds to pico + try System.Time ? + *** timelog simple format *** auto-generate missing clock-out *** graph automation diff --git a/hledger.hs b/hledger.hs index 8f915c78e..750bc3336 100644 --- a/hledger.hs +++ b/hledger.hs @@ -1,9 +1,9 @@ {- hledger - ledger-compatible money management tool (& haskell study) GPLv3, (c) Simon Michael & contributors -inspired by John Wiegley's ledger at http://newartisans.com/ledger.html +A port of John Wiegley's ledger at http://newartisans.com/ledger.html -modules/models are organized roughly like this; each layer can only +The module/model hierarchy is roughly like this; each layer can only reference things below it: hledger