summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-06-12 14:43:18 +0000
committerhallgren <hallgren@chalmers.se>2014-06-12 14:43:18 +0000
commitd6252d1c16d59ad26db0d08a531cddf39864d9db (patch)
tree93d4c2be28e430bb64a1cb2db22299b1b4b8afb7 /gf.cabal
parent352ecb7eb89b3f427667c7c51f71812b619393af (diff)
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.
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal9
1 files changed, 5 insertions, 4 deletions
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