From 3bfcfa157dc291e03bfb4db3baed8b0098d76f50 Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 21 Oct 2014 14:42:31 +0000 Subject: Renaming SourceGrammar to Grammar and similarly for some related types Included renamings: SourceGrammar -> Grammar SourceModule -> Module SourceModInfo -> ModuleInfo emptySourceGrammar -> emptyGrammar Also introduces a type synonym (which might be good to turn into a newtype): type ModuleName = Ident The reason is to make types like the following more self documenting: type Module = (ModuleName,ModuleInfo) type QIdent = (ModuleName,Ident) --- src/compiler/GF.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/compiler/GF.hs') diff --git a/src/compiler/GF.hs b/src/compiler/GF.hs index dd5cc8b31..6fff0b3cb 100644 --- a/src/compiler/GF.hs +++ b/src/compiler/GF.hs @@ -19,6 +19,7 @@ module GF( module GF.Grammar.Binary, -- * Supporting infrastructure and system utilities + module GF.Infra.Location, module GF.Data.Operations, module GF.Infra.UseIO, module GF.Infra.Option, @@ -41,8 +42,9 @@ import GF.Grammar.Printer import GF.Infra.Ident import GF.Grammar.Binary +import GF.Infra.Location import GF.Data.Operations import GF.Infra.Option import GF.Infra.UseIO import GF.System.Console -import Data.Binary \ No newline at end of file +import Data.Binary -- cgit v1.2.3