#6003: ghci should complain when the user imports non-existent modules
------------------------------+---------------------------------------------
 Reporter:  dagit             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  GHCi            
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 I was surprised today when I tried to import a module that wasn't
 installed locally and ghci didn't issue a warning so I assume it loaded. I
 didn't even notice that the prompt didn't change. I tried to use functions
 in the module I thought was imported and that's how I learned it didn't
 actually succeed at the import.

 Here is an example to reproduce what I saw:

 {{{
 $ ghci
 GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> import Control.Monad.Pizza
 Prelude>
 }}}

 Thanks!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6003>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to