projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea71f2
)
[project @ 2003-03-31 15:36:24 by ross]
author
ross
<unknown>
Mon, 31 Mar 2003 15:36:24 +0000
(15:36 +0000)
committer
ross
<unknown>
Mon, 31 Mar 2003 15:36:24 +0000
(15:36 +0000)
remove a GHC-ism
System/IO/Error.hs
patch
|
blob
|
history
diff --git
a/System/IO/Error.hs
b/System/IO/Error.hs
index
6874ac9
..
3253894
100644
(file)
--- a/
System/IO/Error.hs
+++ b/
System/IO/Error.hs
@@
-254,7
+254,7
@@
ioeSetHandle ioe hdl = ioe{ ioe_handle = Just hdl }
ioeSetFileName ioe filename = ioe{ ioe_filename = Just filename }
modifyIOError :: (IOError -> IOError) -> IO a -> IO a
-modifyIOError f io = GHC.Exception.catch io (\e -> ioError (f e))
+modifyIOError f io = catch io (\e -> ioError (f e))
-- -----------------------------------------------------------------------------
-- annotating an IOError