hledger/Account.hs

17 lines
291 B
Haskell
Raw Normal View History

module Account
where
import Utils
2007-07-02 18:54:36 +04:00
import Types
import AccountName
2007-03-12 10:58:11 +03:00
import Amount
import LedgerEntry
import LedgerTransaction
import 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