[GHC] #10478: Shorter import syntax

GHC ghc-devs at haskell.org
Thu Jun 4 19:08:52 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 s9gf4ult):

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

 Yes, but this syntax still looks more logical than without "qaulified". It
 is not obvious to see something like

 > import Data.Map (Map) as M

 And have module Data.Map imported qualified as M.

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


More information about the ghc-tickets mailing list