Use catchException in a few more places
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 11 Mar 2016 09:43:52 +0000 (10:43 +0100)
committerBen Gamari <ben@smart-cactus.org>
Fri, 11 Mar 2016 12:20:16 +0000 (13:20 +0100)
commita1c4230e15cbf897b97903c8a1199a1cc91efd26
tree4e59001341b5bb64a7dc6bef3f733e71b86ba5e9
parentc937f424e4acd61d1c558e8fe9b47e7d580fdbd8
Use catchException in a few more places

These are cases in the standard library that may benefit from the
strictness signature of catchException and where we know that the action
won't bottom.

Test Plan: Validate, carefully consider changed callsites

Reviewers: austin, hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1972
libraries/base/Control/Concurrent.hs
libraries/base/GHC/IO/Handle/Text.hs