X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fghci.xml;h=a675cca885656cee1a870d7e4972ad8e3230046e;hb=ab769387cb04ae551642c5b30622a710eaab93f0;hp=ebf195b2a622f65a19016efb3ada34756b30fce9;hpb=4edbeb14e25f71824c53c524028d12440928707e;p=ghc-hetmet.git diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index ebf195b..a675cca 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