From d38efbaa6a2c94218bb65925bd9ad6c028dfbfd6 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 10 Aug 2015 13:01:02 +0000 Subject: 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 --- src/compiler/GF/Command/Abstract.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Command/Abstract.hs') 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 -- cgit v1.2.3