From d6252d1c16d59ad26db0d08a531cddf39864d9db Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 12 Jun 2014 14:43:18 +0000 Subject: 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. --- src/compiler/GF/Grammar/Binary.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Grammar/Binary.hs') diff --git a/src/compiler/GF/Grammar/Binary.hs b/src/compiler/GF/Grammar/Binary.hs index 7b4540ce5..ad9df8b92 100644 --- a/src/compiler/GF/Grammar/Binary.hs +++ b/src/compiler/GF/Grammar/Binary.hs @@ -13,7 +13,7 @@ import Prelude hiding (catch) import Control.Exception(catch,ErrorCall(..),throwIO) --import Data.Char -import Data.Binary +import PGF.Internal(Binary(..),Word8,putWord8,getWord8,encodeFile,decodeFile) --import Control.Monad import qualified Data.Map as Map import qualified Data.ByteString.Char8 as BS @@ -24,7 +24,7 @@ import GF.Infra.Option import GF.Grammar.Grammar import PGF() -- Binary instances -import PGF.Data(Literal(..)) +import PGF.Internal(Literal(..)) -- Please change this every time when the GFO format is changed gfoVersion = "GF03" -- cgit v1.2.3