:script file scripts in GHCi #1363
authorVivian McPhail <haskell.vivian.mcphail@gmail.com>
Sat, 26 Feb 2011 07:31:33 +0000 (07:31 +0000)
committerVivian McPhail <haskell.vivian.mcphail@gmail.com>
Sat, 26 Feb 2011 07:31:33 +0000 (07:31 +0000)
commiteccb2d89eb4b34f31e8ea337d5f8673605f71665
treedbf1de76ef655523c9e7daa818a570692bc6019e
parent74430537272aecdc8fd85b4877cec76cc042c8ad
: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
compiler/main/HscMain.lhs
compiler/main/InteractiveEval.hs
docs/users_guide/ghci.xml
ghc/GhciMonad.hs
ghc/InteractiveUI.hs