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:
@@ -2,10 +2,8 @@ module GFC (mainGFC, writePGF) where
|
||||
-- module Main where
|
||||
|
||||
import PGF
|
||||
--import PGF.CId
|
||||
import PGF.Data
|
||||
import PGF.Optimize
|
||||
import PGF.Binary(putSplitAbs)
|
||||
import PGF.Internal(PGF(..),code,funs,cats,optimizePGF,unionPGF)
|
||||
import PGF.Internal(putSplitAbs)
|
||||
import GF.Compile
|
||||
import GF.Compile.Export
|
||||
import GF.Compile.CFGtoPGF
|
||||
@@ -19,8 +17,7 @@ import GF.Data.ErrM
|
||||
import GF.System.Directory
|
||||
|
||||
import Data.Maybe
|
||||
import Data.Binary(encode,encodeFile)
|
||||
import Data.Binary.Put(runPut)
|
||||
import PGF.Internal(encode,encodeFile,runPut)
|
||||
import qualified Data.Map as Map
|
||||
import qualified Data.Set as Set
|
||||
import qualified Data.ByteString as BSS
|
||||
|
||||
Reference in New Issue
Block a user