hledger/Ledger/Account.hs

17 lines
344 B
Haskell
Raw Normal View History

module Ledger.Account
where
import Ledger.Utils
2008-10-03 04:12:59 +04:00
import Ledger.Types
import Ledger.AccountName
import Ledger.Amount
import Ledger.LedgerEntry
import Ledger.RawTransaction
import Ledger.Transaction
instance Show Account where
show (Account a ts b) = printf "Account %s with %d transactions" a $ length ts
2007-03-11 00:21:04 +03:00
nullacct = Account "" [] nullamt