[GHC] #10478: Shorter import syntax

GHC ghc-devs at haskell.org
Thu Jun 4 18:52:46 UTC 2015


#10478: Shorter import syntax
-------------------------------------+-------------------------------------
        Reporter:  acowley           |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Rufflewind):

 Replying to [comment:7 s9gf4ult]:
 > Why not?
 >
 > > import qualified Data.Map (Map) as M
 >
 >
 > While it is qualified import it should have keyword "qualified" to
 specify that explicitly.

 The `qualified` applies to `M` but not to `(Map)`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10478#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list