[project @ 2003-03-31 15:36:24 by ross]
authorross <unknown>
Mon, 31 Mar 2003 15:36:24 +0000 (15:36 +0000)
committerross <unknown>
Mon, 31 Mar 2003 15:36:24 +0000 (15:36 +0000)
remove a GHC-ism

System/IO/Error.hs

index 6874ac9..3253894 100644 (file)
@@ -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