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/Compile/GenerateBC.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Compile/GenerateBC.hs') diff --git a/src/compiler/GF/Compile/GenerateBC.hs b/src/compiler/GF/Compile/GenerateBC.hs index 26d48380f..61605e3f8 100644 --- a/src/compiler/GF/Compile/GenerateBC.hs +++ b/src/compiler/GF/Compile/GenerateBC.hs @@ -2,13 +2,13 @@ module GF.Compile.GenerateBC(generateByteCode) where import GF.Grammar import GF.Compile.Instructions -import PGF.Data +import PGF.Internal(Binary(..),encode,BCAddr) import Data.Maybe import qualified Data.IntMap as IntMap import qualified Data.ByteString as BSS import qualified Data.ByteString.Lazy as BS -import Data.Binary +import PGF.Internal() generateByteCode :: [(QIdent,Info)] -> ([(QIdent,Info,BCAddr)], BSS.ByteString) generateByteCode = runGenM . mapM genFun -- cgit v1.2.3