[project @ 2003-07-21 14:50:32 by simonmar]
authorsimonmar <unknown>
Mon, 21 Jul 2003 14:50:32 +0000 (14:50 +0000)
committersimonmar <unknown>
Mon, 21 Jul 2003 14:50:32 +0000 (14:50 +0000)
Document that changing directories unloads all modules.

ghc/docs/users_guide/ghci.sgml

index 8fa7ff2..405f7b2 100644 (file)
@@ -837,6 +837,12 @@ $ ghci -lm
          beginning of <replaceable>dir</replaceable> will be replaced
          by the contents of the environment variable
          <literal>HOME</literal>.</para>
+
+         <para>NOTE: changing directories causes all currently loaded
+         modules to be unloaded.  This is because the search path is
+         usually expressed using relative directories, and changing
+         the search path in the middle of a session is not
+         supported.</para>
        </listitem>
       </varlistentry>