X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fghci.xml;h=7c3fed2e8b5b0902db94349d6141dd5d7340e7ca;hb=3bb700d515de2405fa5db3326482e529f332d508;hp=ebf195b2a622f65a19016efb3ada34756b30fce9;hpb=4edbeb14e25f71824c53c524028d12440928707e;p=ghc-hetmet.git
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index ebf195b..7c3fed2 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -81,11 +81,11 @@ Prelude>
as in the above example.
Multiline mode is useful when entering monadic
- do statements:
+ do statements:
Control.Monad.State> flip evalStateT 0 $ do
-Control.Monad.State| i <- get
+Control.Monad.State| i <- get
Control.Monad.State| lift $ do
Control.Monad.State| putStrLn "Hello World!"
Control.Monad.State| print i
@@ -2389,6 +2389,19 @@ bar
+ :script n
+ filename
+ :script
+
+
+ Executes the lines of a file as a series of GHCi commands. This command
+ is compatible with multiline statements as set by :set +m
+
+
+
+
+
+
:set option...
:set