forked from GitHub/gf-core
PGF library: expose only PGF and PGF.Internal instead of all modules
PGF exports the public, stable API. PGF.Internal exports additional things needed in the GF compiler & shell, including the nonstardard version of Data.Binary.
This commit is contained in:
@@ -14,8 +14,7 @@ import qualified Data.Map as Map
|
||||
import Data.Set (Set)
|
||||
import qualified Data.Set as Set
|
||||
|
||||
--import PGF.CId
|
||||
import PGF.Data
|
||||
import PGF.Internal
|
||||
import GF.Data.Utilities
|
||||
import GF.Grammar.CFG
|
||||
--import GF.Speech.PGFToCFG
|
||||
|
||||
@@ -18,8 +18,7 @@ import GF.Grammar.CFG
|
||||
import GF.Speech.RegExp
|
||||
import GF.Speech.SISR
|
||||
import GF.Speech.SRG
|
||||
--import PGF.CId
|
||||
import PGF.Data
|
||||
import PGF
|
||||
|
||||
import Data.Char
|
||||
import Data.List
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
module GF.Speech.PGFToCFG (bnfPrinter, pgfToCFG) where
|
||||
|
||||
import PGF(showCId)
|
||||
import PGF.Data as PGF
|
||||
import PGF.Macros
|
||||
import PGF.Internal as PGF
|
||||
--import GF.Infra.Ident
|
||||
import GF.Grammar.CFG hiding (Symbol)
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@ module GF.Speech.VoiceXML (grammar2vxml) where
|
||||
import GF.Data.XML
|
||||
--import GF.Infra.Ident
|
||||
import PGF
|
||||
import PGF.Data
|
||||
import PGF.Macros
|
||||
import PGF.Internal
|
||||
|
||||
--import Control.Monad (liftM)
|
||||
import Data.List (intersperse) -- isPrefixOf, find
|
||||
|
||||
Reference in New Issue
Block a user