diff --git a/Types.hs b/Models.hs similarity index 99% rename from Types.hs rename to Models.hs index 183d4ec9f..5be80feb3 100644 --- a/Types.hs +++ b/Models.hs @@ -1,5 +1,5 @@ -module Types -- data model & methods +module Models -- data types & behaviours where import Text.Printf diff --git a/Parse.hs b/Parse.hs index 767a92067..20ad6eb53 100644 --- a/Parse.hs +++ b/Parse.hs @@ -6,7 +6,7 @@ import Text.ParserCombinators.Parsec import Text.ParserCombinators.Parsec.Language import qualified Text.ParserCombinators.Parsec.Token as P -import Types +import Models {- Here's the ledger 2.5 grammar: diff --git a/Tests.hs b/Tests.hs index 1f322fe30..4208902d5 100644 --- a/Tests.hs +++ b/Tests.hs @@ -10,7 +10,7 @@ import Test.HUnit --import qualified Test.HUnit (Test.HUnit.test) import Options -import Types +import Models import Parse -- sample data diff --git a/hledger.hs b/hledger.hs index ed924d874..72091c4f6 100644 --- a/hledger.hs +++ b/hledger.hs @@ -13,7 +13,7 @@ import Test.QuickCheck (quickCheck) import Text.ParserCombinators.Parsec (parseFromFile, ParseError) import Options -import Types +import Models import Parse import Tests