[commit: ghc] master: :script file scripts in GHCi #1363 (eccb2d8)
Simon Marlow
marlowsd at gmail.com
Wed Mar 2 16:47:21 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/eccb2d89eb4b34f31e8ea337d5f8673605f71665
>---------------------------------------------------------------
commit eccb2d89eb4b34f31e8ea337d5f8673605f71665
Author: Vivian McPhail <haskell.vivian.mcphail at gmail.com>
Date: Sat Feb 26 07:31:33 2011 +0000
:script file scripts in GHCi #1363
This patch adds the script command in GHCi
A file is read and executed as a series of GHCi commands.
Execution terminates on the first error. The filename and
line number are included in the error.
compiler/main/GHC.hs | 3 +-
compiler/main/HscMain.lhs | 32 ++++++++++++++++----
compiler/main/InteractiveEval.hs | 13 ++++++--
docs/users_guide/ghci.xml | 13 ++++++++
ghc/GhciMonad.hs | 3 +-
ghc/InteractiveUI.hs | 59 +++++++++++++++++++++++++++++++++----
6 files changed, 105 insertions(+), 18 deletions(-)
Diff suppressed because of size. To see it, use:
git show eccb2d89eb4b34f31e8ea337d5f8673605f71665
More information about the Cvs-ghc
mailing list