[GHC] #12517: Simplify runghc command line options

GHC ghc-devs at haskell.org
Wed Jan 18 21:33:34 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 dfeuer):

 I think thomie's version could be made a bit more intuitive using
 something like

 {{{
 runghc [runghc flags] module|filename [--ghc-flags [GHC flags]] [--
 [program args]]
 }}}

 For example

 {{{
 runghc Foo --ghc-flags -Wall -ddump-simpl -- -hi --bi
 }}}

 Like thomie's version, this requires the GHC flags to come after all
 runghc options and the module name, but it marks them out explicitly.

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


More information about the ghc-tickets mailing list