X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fghci%2FInteractiveUI.hs;h=bb696c8559bad02e9930543a875e572833dbe9c9;hb=7af3c5a81696045acf584700e417f3cbc8758749;hp=83061acf063354f65ace01d4ed6e96013f486917;hpb=04be746b439b8c470a4c12a3ea5b63d6e81a0241;p=ghc-hetmet.git diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 83061ac..bb696c8 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.47 2001/02/13 17:13:39 sewardj Exp $ +-- $Id: InteractiveUI.hs,v 1.57 2001/03/25 13:29:54 simonmar Exp $ -- -- GHC Interactive User Interface -- @@ -18,13 +18,10 @@ import ByteCodeLink import DriverFlags import DriverState import DriverUtil -import Type import Linker -import Finder -import Module -import Outputable import Util -import PprType {- instance Outputable Type; do not delete -} +import Name ( Name ) +import Outputable import Panic ( GhcException(..) ) import Config @@ -45,9 +42,8 @@ import Char import Monad ( when ) import PrelGHC ( unsafeCoerce# ) -import PrelPack ( packString ) -import PrelByteArr -import Foreign ( Ptr, nullPtr ) +import Foreign ( nullPtr ) +import CString ( peekCString ) ----------------------------------------------------------------------------- @@ -85,29 +81,31 @@ shortHelpText = "use :? for help.\n" helpText = "\ \ Commands available from the prompt:\n\ \\ -\ evaluate \n\ -\ :add add a module to the current set\n\ +\ evaluate/run \n\ \ :cd change directory to \n\ +\ :def define a command :\n\ \ :help, :? display this list of commands\n\ \ :load load a module (and it dependents)\n\ \ :module set the context for expression evaluation to \n\ \ :reload reload the current module set\n\ \ :set