
#8622: Importing modules in .ghci file doesn't work ---------------------------------+---------------------------------- Reporter: m4dc4p | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: GHCi | Version: 7.6.3 Resolution: invalid | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------+---------------------------------- Comment (by simonmar): Replying to [comment:4 simonpj]:
However, the [http://www.haskell.org/ghc/docs/latest/html/users_guide
/interactive-evaluation.html user documentation] is not good on this point. Notably, it says (2.4.5.1) that "You cannot add a module to the scope if it is not loaded". But that's not true: you can also add (or `import`) any package module.
Copying Simon M to check my statements here. If correct, I'll update
the documentation. Yes, looks like it should say "if it is not loaded or a package module" or something. Maybe the negatives should be reversed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8622#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler