#2362: allow full import syntax in GHCi
--------------------------------+-------------------------------------------
    Reporter:  Isaac Dupree     |        Owner:          
        Type:  feature request  |       Status:  new     
    Priority:  normal           |    Milestone:          
   Component:  Compiler         |      Version:  6.8.2   
    Severity:  normal           |   Resolution:          
    Keywords:  ghci, import     |     Testcase:          
Architecture:  Multiple         |           Os:  Multiple
--------------------------------+-------------------------------------------
Changes (by guest):

  * keywords:  => ghci, import
 * cc: [EMAIL PROTECTED] (added)
  * os:  Unknown => Multiple
  * architecture:  Unknown => Multiple

Comment:

 Currently you can do this using a helper module, which does the required
 imports.

 {{{
 module Import where

 import qualified Data.Map as Map
 }}}

 {{{
 *Prelude> :load Import.hs
 *Import> Map.insert ...
 }}}

 Of course, doing this in GHCi would be nicer.

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