[GHC] #14349: Semigroup/Monoid instances for System.Exit.ExitCode

GHC ghc-devs at haskell.org
Fri Oct 13 16:32:24 UTC 2017


#14349: Semigroup/Monoid instances for System.Exit.ExitCode
-------------------------------------+-------------------------------------
        Reporter:  neil.mayhew       |                Owner:  (none)
            Type:  feature request   |               Status:  upstream
        Priority:  low               |            Milestone:
       Component:  libraries/base    |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by neil.mayhew):

 I don't see this as 'forced'. The meaning I'm suggesting is the
 conventional interpretation of OS exit statuses, ie a set of processes is
 considered failed if any one of them fails. The only reason to look up the
 documentation would be if someone needs to know how the `Int` in
 `ExitFailure Int` is produced, and typically people don't care about the
 value, just success or failure.

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


More information about the ghc-tickets mailing list