[[project @ 2001-05-04 15:12:16 by simonmar] simonmar**20010504151216 document :set -package ] { hunk ./ghc/docs/users_guide/ghci.sgml 551 - but note: packages must be specified on the - GHCi command line, you can't add extra packages after GHCi has - started up. For example, to start up GHCi with the - text package loaded: + For example, to start up GHCi with the text + package loaded: hunk ./ghc/docs/users_guide/ghci.sgml 573 + + The following command works to load new packages into a + running GHCi: + + +Prelude> :set -package name + + + But note that doing this will cause all currently loaded + modules to be unloaded, and you'll be dumped back into the + Prelude. hunk ./ghc/docs/users_guide/ghci.sgml 895 - Certain static options (, - , and in particular) will - also work, but may not take effect until the next reload. + Certain static options (, + , , and + in particular) will also work, but some may + not take effect until the next reload. hunk ./ghc/docs/users_guide/ghci.sgml 904 - The <filename>.ghci</filename> file + The <filename>.ghci</filename> file }