[GHC] #9642: LANGUAGE pragma synonyms

GHC ghc-devs at haskell.org
Sun Sep 28 13:15:50 UTC 2014


#9642: LANGUAGE pragma synonyms
-------------------------------------+-------------------------------------
              Reporter:  dreixel     |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by jstolarek):

 Replying to [comment:2 dreixel]:
 > Yes, but I don't think that addresses the same issues that my proposal
 does.
 Well, it address only one of them (avoiding copy-pastes).

 > It wouldn't be automatically enabled. It would just be available for
 use; you'd still have to write
 > {{{
 > {-# LANGUAGE PedrosHaskell #-}
 > }}}
 I see.

 But wouldn't your proposal impose artificial dependencies between modules,
 where one module needs to import another just to use the LANGUAGE synonym?
 I imagine this could become a problem in some circumstances.

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


More information about the ghc-tickets mailing list