projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef2ea0
)
changes for the new IO library
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 29 May 2009 13:22:05 +0000
(13:22 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 29 May 2009 13:22:05 +0000
(13:22 +0000)
System/Directory.hs
patch
|
blob
|
history
diff --git
a/System/Directory.hs
b/System/Directory.hs
index
48bb364
..
4f1d659
100644
(file)
--- a/
System/Directory.hs
+++ b/
System/Directory.hs
@@
-101,7
+101,12
@@
import System.Posix.Internals
import System.Time ( ClockTime(..) )
#ifdef __GLASGOW_HASKELL__
+
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO.Exception ( IOException(..), IOErrorType(..), ioException )
+#else
import GHC.IOBase ( IOException(..), IOErrorType(..), ioException )
+#endif
#ifdef mingw32_HOST_OS
import qualified System.Win32