summaryrefslogtreecommitdiff
path: root/libraries/base/Control/Exception.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-09-16 19:19:25 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-09-16 22:43:17 +0200
commitb47521991a7574f4f3554f7c5444a8c60cfe9efd (patch)
tree55bfb1876f31b841ae9d750aa87489ed6d2dc667 /libraries/base/Control/Exception.hs
parente7a0f5b66ced8d56d770375e4d35d38c70067559 (diff)
downloadhaskell-b47521991a7574f4f3554f7c5444a8c60cfe9efd.tar.gz
Move `Maybe`-typedef into GHC.Base
This is preparatory work for reintroducing SPECIALISEs that were lost in d94de87252d0fe2ae97341d186b03a2fbe136b04 Differential Revision: https://phabricator.haskell.org/D214
Diffstat (limited to 'libraries/base/Control/Exception.hs')
-rw-r--r--libraries/base/Control/Exception.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/libraries/base/Control/Exception.hs b/libraries/base/Control/Exception.hs
index 7c019eb5ca..252597d70e 100644
--- a/libraries/base/Control/Exception.hs
+++ b/libraries/base/Control/Exception.hs
@@ -133,7 +133,6 @@ import Control.Exception.Base
import GHC.Base
import GHC.IO (unsafeUnmask)
-import Data.Maybe
-- | You need this when using 'catches'.
data Handler a = forall e . Exception e => Handler (e -> IO a)