Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
a3ca2db7
Commit
a3ca2db7
authored
Jan 20, 2005
by
ross
Browse files
[project @ 2005-01-20 18:35:47 by ross]
more precise imports (including try from System.IO.Error)
parent
f6072cc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/compat/Compat/Directory.hs
View file @
a3ca2db7
...
...
@@ -29,9 +29,9 @@ import Control.Exception ( bracket )
import
Control.Monad
(
when
)
import
System.Environment
(
getEnv
)
import
System.FilePath
import
System.IO
import
Foreign
import
Foreign.
C
import
System.IO
(
IOMode
(
..
),
openBinaryFile
,
hGetBuf
,
hPutBuf
,
hClose
)
import
System.IO.Error
(
try
)
import
Foreign.
Marshal.Alloc
(
allocaBytes
)
import
System.Directory
(
doesFileExist
,
doesDirectoryExist
,
getPermissions
,
setPermissions
,
createDirectory
)
#
if
defined
(
__GLASGOW_HASKELL__
)
import
GHC.IOBase
(
IOException
(
..
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment