Make Exception datatypes into newtypes
authorRyanGlScott <ryan.gl.scott@gmail.com>
Wed, 5 Aug 2015 12:23:12 +0000 (14:23 +0200)
committerBen Gamari <ben@smart-cactus.org>
Wed, 5 Aug 2015 12:45:16 +0000 (14:45 +0200)
commitb12dba7829742de98a483645142c7962b9dd9f3f
tree4e56d779d649d67305ba99e0fe4cf579f2ee24fc
parentecb1752ffa12dfa71053f640e6cce64d15e47e8f
Make Exception datatypes into newtypes

Certain instances of `Exception` are simply datatypes with only one
argument, which should be `newtype`s.

Reviewers: ekmett, hvr, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1131

GHC Trac Issues: #10738
libraries/base/Control/Exception/Base.hs
libraries/base/GHC/IO/Exception.hs
libraries/base/changelog.md