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. --- gf.cabal | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gf.cabal') diff --git a/gf.cabal b/gf.cabal index 4d7b401a6..8c10e78a4 100644 --- a/gf.cabal +++ b/gf.cabal @@ -76,7 +76,7 @@ Library if flag(custom-binary) hs-source-dirs: src/binary - exposed-modules: + other-modules: -- not really part of GF but I have changed the original binary library -- and we have to keep the copy for now. Data.Binary @@ -95,14 +95,15 @@ Library exposed-modules: PGF + PGF.Internal + PGF.Lexing + PGF.Utilities + other-modules: PGF.Data PGF.Macros PGF.Binary PGF.Optimize PGF.Printer - PGF.Utilities - PGF.Lexing - other-modules: PGF.CId PGF.Expr PGF.Generate -- cgit v1.2.3