forked from GitHub/gf-core
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)
This commit is contained in:
@@ -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
|
||||
import Data.Binary
|
||||
|
||||
Reference in New Issue
Block a user