hledger/Account.hs

17 lines
295 B
Haskell

module Account
where
import Ledger.Utils
import Types
import AccountName
import Amount
import LedgerEntry
import RawTransaction
import Transaction
instance Show Account where
show (Account a ts b) = printf "Account %s with %d transactions" a $ length ts
nullacct = Account "" [] nullamt