projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-06-01 16:15:42 by simonmar]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
IO.lhs
diff --git
a/ghc/lib/std/IO.lhs
b/ghc/lib/std/IO.lhs
index
c05e200
..
7f5f695
100644
(file)
--- a/
ghc/lib/std/IO.lhs
+++ b/
ghc/lib/std/IO.lhs
@@
-252,7
+252,7
@@
character is available.
\begin{code}
hLookAhead :: Handle -> IO Char
-hLookAhead handle = do
+hLookAhead handle =
wantReadableHandle "hLookAhead" handle $ \ handle_ -> do
let fo = haFO__ handle_
intc <- mayBlock fo (CCALL(fileLookAhead) fo) -- ConcHask: UNSAFE, may block