mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
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:
9
gf.cabal
9
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
|
||||
|
||||
Reference in New Issue
Block a user