projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4da6b46
)
remove unnecessary/broken definition of mask_
author
Simon Marlow
<marlowsd@gmail.com>
Sat, 2 Oct 2010 19:51:18 +0000
(19:51 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Sat, 2 Oct 2010 19:51:18 +0000
(19:51 +0000)
compiler/utils/Exception.hs
patch
|
blob
|
history
diff --git
a/compiler/utils/Exception.hs
b/compiler/utils/Exception.hs
index
de78634
..
fa067b0
100644
(file)
--- a/
compiler/utils/Exception.hs
+++ b/
compiler/utils/Exception.hs
@@
-10,11
+10,6
@@
import Prelude hiding (catch)
import Control.Exception
import Control.Exception
-#if __GLASGOW_HASKELL__ < 613
-mask_ :: ((IO a -> IO a) -> IO b) -> IO b
-mask_ f = block (f unblock)
-#endif
-
catchIO :: IO a -> (IOException -> IO a) -> IO a
catchIO = catch
catchIO :: IO a -> (IOException -> IO a) -> IO a
catchIO = catch