[GHC] #5619: Shorter qualified import statements

GHC cvs-ghc at haskell.org
Wed Nov 9 14:32:16 CET 2011


#5619: Shorter qualified import statements
---------------------------------+------------------------------------------
    Reporter:  YvesPares         |       Owner:              
        Type:  feature request   |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.2.1             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 I would like to be able to write imports like
 {{{
 import qualified Data.Vector as V (Vector, fromList)
 import Data.Vector ((!), (//))
 }}}
 as a single statement, like
 {{{
 import qualified Data.Vector ((!), (//)) as V (Vector, fromList)
 }}}
 Which seems to be compatible with the current import statement.

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



More information about the Glasgow-haskell-bugs mailing list