From 35376cfd9b0d2faf775087fbcd511472f01b4b44 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 12 Oct 2008 05:07:19 +0000 Subject: [PATCH] more informative Show Account --- Ledger/Account.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ledger/Account.hs b/Ledger/Account.hs index aed472b3e..b36a826d9 100644 --- a/Ledger/Account.hs +++ b/Ledger/Account.hs @@ -17,7 +17,7 @@ accounttests = TestList [ ] instance Show Account where - show (Account a ts b) = printf "Account %s with %d transactions" a $ length ts + show (Account a ts b) = printf "Account %s with %d txns and %s balance" a (length ts) (show b) nullacct = Account "" [] nullamt