summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Command/Abstract.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-08-10 13:01:02 +0000
committerhallgren <hallgren@chalmers.se>2015-08-10 13:01:02 +0000
commitd38efbaa6a2c94218bb65925bd9ad6c028dfbfd6 (patch)
tree6b6f5b8d34e9d5daa8d021d0d748d64cb993b188 /src/compiler/GF/Command/Abstract.hs
parent20644d02990f7510812fcb47d33ad20a27be48ab (diff)
Refactor GF shell modules to improve modularity and reusability
+ Move type CommandInfo from GF.Command.Commands to a new module GF.Commands.CommandInfo and make it independent of the PGF type. + Make the module GF.Command.Interpreter independent of the PGF type and eliminate the import of GF.Command.Commands. + Move the implementation of the "help" command to its own module GF.Command.Help
Diffstat (limited to 'src/compiler/GF/Command/Abstract.hs')
-rw-r--r--src/compiler/GF/Command/Abstract.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/GF/Command/Abstract.hs b/src/compiler/GF/Command/Abstract.hs
index 8b7b824f0..5035a33d3 100644
--- a/src/compiler/GF/Command/Abstract.hs
+++ b/src/compiler/GF/Command/Abstract.hs
@@ -1,6 +1,6 @@
-module GF.Command.Abstract where
+module GF.Command.Abstract(module GF.Command.Abstract,Expr,showExpr) where
-import PGF(CId,mkCId,Expr)
+import PGF(CId,mkCId,Expr,showExpr)
type Ident = String