mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-07 12:15:46 +03:00
16 lines
332 B
Haskell
16 lines
332 B
Haskell
module LedgerFile
|
|
where
|
|
import qualified Data.Map as Map
|
|
|
|
import Utils
|
|
import Types
|
|
import AccountName
|
|
import LedgerEntry
|
|
|
|
|
|
instance Show LedgerFile where
|
|
show l = printf "LedgerFile with %d entries"
|
|
((length $ entries l) +
|
|
(length $ modifier_entries l) +
|
|
(length $ periodic_entries l))
|