Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/eccb2d89eb4b34f31e8ea337d5f8673605f71665 >--------------------------------------------------------------- commit eccb2d89eb4b34f31e8ea337d5f8673605f71665 Author: Vivian McPhail <[email protected]> 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 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
