From 53ab61ea89f2c51af7a354f0b0bce093de4f0240 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 3 Aug 2010 17:05:02 +0000 Subject: [PATCH] docs: haddock --- hledger-lib/Hledger/Data/Dates.hs | 2 +- hledger-lib/Hledger/Data/Types.hs | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/hledger-lib/Hledger/Data/Dates.hs b/hledger-lib/Hledger/Data/Dates.hs index 9284b2824..bcaf3a677 100644 --- a/hledger-lib/Hledger/Data/Dates.hs +++ b/hledger-lib/Hledger/Data/Dates.hs @@ -13,7 +13,7 @@ A 'DateSpan' is the span of time between two specific calendar dates, or an open-ended span where one or both dates are unspecified. (A date span with both ends unspecified matches all dates.) -An 'Interval' is ledger's "reporting interval" - weekly, monthly, +An 'Interval' is ledger's \"reporting interval\" - weekly, monthly, quarterly, etc. -} diff --git a/hledger-lib/Hledger/Data/Types.hs b/hledger-lib/Hledger/Data/Types.hs index 251083648..3c54fe2c0 100644 --- a/hledger-lib/Hledger/Data/Types.hs +++ b/hledger-lib/Hledger/Data/Types.hs @@ -9,7 +9,7 @@ Here is an overview of the hledger data model: > [Posting] -- multiple account postings (entries), which have account name and amount. > [HistoricalPrice] -- historical commodity prices > -> Ledger -- a ledger is derived from a journal, by applying a filter specification. It contains.. +> Ledger -- a ledger is derived from a journal, by applying a filter specification and doing some further processing. It contains.. > Journal -- the filtered journal, containing only the transactions and postings we are interested in > Tree AccountName -- account names referenced in the journal's transactions, as a tree > Map AccountName Account -- per-account postings and balances from the journal's transactions, as a map from account name to account info @@ -26,9 +26,7 @@ Evolution of transaction\/entry\/posting terminology: - hledger 0.5: LedgerTransactions contain Postings (which are flattened to Transactions) - - hledger 0.8: Transactions contain Postings (referencing Transactions, corecursively) - - - hledger 0.10: Postings should be called Entrys, but are left as-is for now + - hledger 0.8: Transactions contain Postings (referencing Transactions..) -}