replace Models with a top-level Ledger module

This commit is contained in:
Simon Michael 2008-10-03 01:14:16 +00:00
parent 9a72298a4c
commit b19fe33476
4 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,6 @@
{-|
Import this module to get all the hledger \"models\" and their \"methods\".
-}
module Ledger.Models (
module Ledger (
module Ledger.Types,
module Ledger.Currency,
module Ledger.Amount,

View File

@ -110,7 +110,10 @@ import qualified Text.ParserCombinators.Parsec.Token as P
import System.IO
import Ledger.Utils
import Ledger.Models
import Ledger.Types
import Ledger.LedgerEntry (autofillEntry)
import Ledger.Currency (getcurrency)
import Ledger.TimeLog (ledgerFromTimeLog)
-- utils

View File

@ -4,7 +4,7 @@ import qualified Data.Map as Map
import Text.ParserCombinators.Parsec
import Options
import Ledger.Models
import Ledger
import Ledger.Parse
import Ledger.Utils

View File

@ -22,7 +22,6 @@ hledger ("Main")
"Tests"
"Parse"
"Options"
"Models"
"TimeLog"
"Ledger"
"Account"
@ -63,7 +62,7 @@ import qualified Data.Map as Map (lookup)
import Options
import Tests (hunit, quickcheck)
import Ledger.Models
import Ledger
import Ledger.Parse (parseLedgerFile)
import Ledger.Utils hiding (test)