[GHC] #14998: Sort out the strictness mess for exceptions

GHC ghc-devs at haskell.org
Fri Apr 13 18:17:23 UTC 2018


#14998: Sort out the strictness mess for exceptions
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.3
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  Exceptions
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 Ben Gamari <ben@…>):

 In [changeset:"00b8ecb78624511a045120673b01fafe5794ecdc/ghc"
 00b8ecb7/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="00b8ecb78624511a045120673b01fafe5794ecdc"
 Declare `catchRetry#` lazy in its first argument

 As per the results on item 1 in T14998, declaring `catchRetry#` lazy in
 its first argument opens the possibility to remove `ExnStr` complexity
 from strictness demands at virtually no regressions in NoFib.

 This brings `catchRetry#` in line with other primops from the `catch*`
 family.

 Reviewers: bgamari, simonpj, nomeata

 Reviewed By: bgamari

 Subscribers: thomie, carter

 GHC Trac Issues: #14998, #11222

 Differential Revision: https://phabricator.haskell.org/D4573
 }}}

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


More information about the ghc-tickets mailing list