#2452: Add a flag to disable the implicit qualified import of every available
module in interactive mode
--------------------------------------+-------------------------------------
  Reporter:  jcpetruzza               |          Owner:  simonmar        
      Type:  feature request          |         Status:  closed          
  Priority:  normal                   |      Milestone:  6.10.1          
 Component:  Compiler (Type checker)  |        Version:  6.9             
Resolution:  fixed                    |       Keywords:                  
Difficulty:  Unknown                  |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown             |  
--------------------------------------+-------------------------------------
Changes (by guest):

  * failure:  => None/Unknown


Comment:

 I assumed, that I could achieve the wanted behaviour with
 {{{
 ghci -hide-all-packages -package haskell98
 }}}
 in GHC-6.10.4, but it aborts with
 {{{
 GHCi, version 6.10.4: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer ... linking ... done.
 Loading package base ... linking ... done.
 Loading package syb ... linking ... done.
 Loading package array-0.2.0.0 ... linking ... done.
 Loading package filepath-1.1.0.2 ... linking ... done.
 Loading package old-locale-1.0.0.1 ... linking ... done.
 Loading package old-time-1.0.0.2 ... linking ... done.
 Loading package unix-2.3.2.0 ... linking ... done.
 Loading package directory-1.0.0.3 ... linking ... done.
 Loading package process-1.0.1.1 ... linking ... done.
 Loading package random-1.0.0.1 ... linking ... done.
 Loading package haskell98 ... linking ... done.
 <command line>: Could not find module `Prelude':
   it is a member of the hidden package `base-3.0.3.1'
   it is a member of the hidden package `base'
   Use -v to see a list of the files searched for.
 }}}

 For my taste, the Unsafe modules should go to an extra package anyway.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2452#comment:13>
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