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

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