#2362: allow full import syntax in GHCi
--------------------------------+-------------------------------------------
    Reporter:  Isaac Dupree     |       Owner:          
        Type:  feature request  |      Status:  new     
    Priority:  normal           |   Component:  Compiler
     Version:  6.8.2            |    Severity:  normal  
    Keywords:                   |    Testcase:          
Architecture:  Unknown          |          Os:  Unknown 
--------------------------------+-------------------------------------------
 for example, GHCi currently allows "`import Data.Map`" but not "`import
 Data.Map as Map`" or (to demonstrate a fuller range of import syntax)
 "`import qualified Prelude as P hiding (mplus)`".  (In GHCi, you'd
 probably only be interested in hiding/qualifying something like Data.Map
 that made it harder for you to use Prelude functions due to actual
 ambiguity -- or vice versa)

 see http://article.gmane.org/gmane.comp.lang.haskell.cafe/41272

 (P.S. I would also like everything in a module, such as `data`
 declarations, to work in GHCi also, but I suspect that's a more
 complicated feature request?)

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