From 57924f469e4a9e55d087384e9f3f918f0eaf02cb Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 21 May 2007 08:51:34 +0000 Subject: [PATCH] doc: 'import M' is the same as ':module +M' --- docs/users_guide/ghci.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index 0f78ebe..b27781c 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -577,7 +577,9 @@ hello Prelude IO> - (Note: :module can be shortened to + (Note: you can use import M as an + alternative to :module +M, and + :module can also be shortened to :m). The full syntax of the :module command is: @@ -2066,9 +2068,15 @@ Prelude> :main foo bar :module +|- *mod1 ... *modn :module + + import mod + Sets or modifies the current context for statements - typed at the prompt. See for + typed at the prompt. The form import + mod is equivalent to + :module +mod. + See for more details. -- 1.7.10.4