
#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 sgraf): Also note how the improvements for changeset:9915b6564403a6d17651e9969e9ea5d7d7e78e7f (from 2016, from #11222) match those of changeset:7c0fff41789669450b02dc1db7f5d7babba5dee6 (from 2015, subject of item 3). Strictness with `catch#` is now a little subtle (if also a lot more correct), because callers have to make sure that their action is forced before calling it. I wonder if we get more improvements if we make `withHandle_'` and friends strict in their `act`ion parameter... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14998#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler