projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 5.04 compile
[ghc-hetmet.git]
/
compiler
/
main
/
HeaderInfo.hs
diff --git
a/compiler/main/HeaderInfo.hs
b/compiler/main/HeaderInfo.hs
index
48eda22
..
dc97e20
100644
(file)
--- a/
compiler/main/HeaderInfo.hs
+++ b/
compiler/main/HeaderInfo.hs
@@
-35,9
+35,9
@@
import Bag ( emptyBag, listToBag )
import Distribution.Compiler
import Distribution.Compiler
-import EXCEPTION ( throwDyn )
-import IO
-import List
+import Control.Exception
+import System.IO
+import Data.List
#if __GLASGOW_HASKELL__ >= 601
import System.IO ( openBinaryFile )
#if __GLASGOW_HASKELL__ >= 601
import System.IO ( openBinaryFile )
@@
-92,7
+92,8
@@
getImpMod (ImportDecl located_mod _ _ _ _) = located_mod
getOptionsFromFile :: FilePath -- input file
-> IO [Located String] -- options, if any
getOptionsFromFile filename
getOptionsFromFile :: FilePath -- input file
-> IO [Located String] -- options, if any
getOptionsFromFile filename
- = bracket (openBinaryFile filename ReadMode)
+ = System.IO.bracket
+ (openBinaryFile filename ReadMode)
(hClose)
(\handle ->
do buf <- hGetStringBufferBlock handle blockSize
(hClose)
(\handle ->
do buf <- hGetStringBufferBlock handle blockSize