[GHC] #9642: LANGUAGE pragma synonyms

GHC ghc-devs at haskell.org
Mon Sep 29 07:46:07 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:7 nomeata]:
 > How about putting these aliases into the package database?
 But then loading a module from the package into GHCi would require knowing
 about aliases in the `.cabal` file.

 > (This opens the way to other `cabal` flags to be used here, e.g.
 compiler flags to load a specific plugin, which might be very useful, but
 let’s not go there with this proposal yet.)
 That's a feature I would like to see. In the past I struggled a lot
 because I had to duplicate in the `benchmark` section all language
 extensions and compilation options specified in `library` section. But
 then again this is a Cabal feature request, not GHC.

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


More information about the ghc-tickets mailing list