X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fghci%2FInteractiveUI.hs;h=da64f4bc7b2ce4c6c6e402f5a8b82699e9705b93;hb=7c73abbfc759839f65a57ee3e763bd1fcc614aa6;hp=2315a34fa5e032ba27ecc262e5a47a912c33bf9f;hpb=9fca47dc861ba311524831f99676fa515c276906;p=ghc-hetmet.git diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 2315a34..da64f4b 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.71 2001/06/06 14:02:50 sewardj Exp $ +-- $Id: InteractiveUI.hs,v 1.80 2001/06/28 11:29:26 simonmar Exp $ -- -- GHC Interactive User Interface -- @@ -13,8 +13,9 @@ module InteractiveUI ( interactiveUI, ghciWelcomeMsg ) where #include "../includes/config.h" #include "HsVersions.h" +import Packages import CompManager -import CmStaticInfo +import HscTypes ( GhciMode(..) ) import ByteCodeLink import DriverFlags import DriverState @@ -24,7 +25,7 @@ import Finder ( flushPackageCache ) import Util import Name ( Name ) import Outputable -import CmdLineOpts ( DynFlag(..), dopt_unset ) +import CmdLineOpts ( DynFlag(..), getDynFlags, saveDynFlags, restoreDynFlags, dopt_unset ) import Panic ( GhcException(..) ) import Config @@ -89,10 +90,11 @@ helpText = "\ \ Commands available from the prompt:\n\ \\ \ evaluate/run \n\ +\ :add ... add module(s) to the current target set\n\ \ :cd change directory to \n\ \ :def define a command :\n\ \ :help, :? display this list of commands\n\ -\ :load load a module (and its dependents)\n\ +\ :load ... load module(s) and their dependents\n\ \ :module set the context for expression evaluation to \n\ \ :reload reload the current module set\n\ \ :set