1
0
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:
hallgren
2014-06-12 14:43:18 +00:00
parent 352ecb7eb8
commit d6252d1c16
34 changed files with 80 additions and 71 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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