[GHC] #12517: Simplify runghc command line options

GHC ghc-devs at haskell.org
Thu Jan 19 02:56:12 UTC 2017


#12517: Simplify runghc command line options
-------------------------------------+-------------------------------------
        Reporter:  harendra          |                Owner:  harendra
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  None              |              Version:  8.0.1
      Resolution:                    |             Keywords:  runghc
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2940
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by harendra):

 I find it rather unintuitive to embed the ghc flags between the program
 name and the program flags. It is simpler to say and understand:

 {{{
 runghc [flags] [filename [program args]]
 }}}

 ghc options becomes just one of the flags which is easier to understand
 (IMO). I agree that using one "--ghc-options" for all ghc flags is more
 convenient. If that is acceptable, I can try to find existing code to be
 able to do that (i.e. handle the escaping).

 I am fine with the proposal process but I won't be able to drive that
 myself, though I can contribute to it.

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


More information about the ghc-tickets mailing list