• David Feuer's avatar
    Change catch# demand signature · 701256df
    David Feuer authored
    * Give `catch#` a lazy demand signature, to make it more honest.
    
    * Make `catchException` and `catchAny` force their arguments so they
    actually behave as advertised.
    
    * Use `catch` rather than `catchException` in `forkIO`, `forkOn`, and
    `forkOS` to avoid losing exceptions.
    
    Fixes #13330
    
    Reviewers: rwbarton, simonpj, simonmar, bgamari, hvr, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3244
    701256df
all.T 11 KB