[GHC] #15773: User Guide contains erroneous information about `-rtsopts` modes.

GHC ghc-devs at haskell.org
Thu Oct 18 13:02:15 UTC 2018


#15773: User Guide contains erroneous information about `-rtsopts` modes.
-------------------------------------+-------------------------------------
        Reporter:  _recursion        |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Documentation     |              Version:
      Resolution:                    |             Keywords:  User Guide
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Documentation     |  Unknown/Multiple
  bug                                |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 I agree that it looks a bit confusing, but it's actually correct.

 - The default (without any `-rtsopts`) is `-rtsopts=some`
 - If you just do `-rtsopts` it means `-rtsopts=all`

 So there are two defaults: when you don't pass `-rtsopts` at all, and you
 pass it without specifying the detail (all, some etc.).

 Not sure what's the best way to clarify this.

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


More information about the ghc-tickets mailing list