[GHC] #9499: Add -prelude-is flag

GHC ghc-devs at haskell.org
Fri Aug 22 16:15:45 UTC 2014


#9499: Add -prelude-is flag
-------------------------------------+-------------------------------------
              Reporter:  agibiansky  |            Owner:  agibiansky
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:  flag
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Easy (less than 1
  Unknown/Multiple                   |  hour)
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D171   |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 Not out of the box, but there is a related feature we're planning on
 adding which is `-alias MyPrelude Prelude`, which gives a module from any
 package another name. Of course, you could also just name your local file
 `Prelude`...

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


More information about the ghc-tickets mailing list