projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
266fadd
)
[project @ 2000-01-30 10:08:27 by simonmar]
author
simonmar
<unknown>
Sun, 30 Jan 2000 10:08:27 +0000
(10:08 +0000)
committer
simonmar
<unknown>
Sun, 30 Jan 2000 10:08:27 +0000
(10:08 +0000)
comment fixup
ghc/lib/std/PrelHandle.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelHandle.lhs
b/ghc/lib/std/PrelHandle.lhs
index
a1faf99
..
c745b4b
100644
(file)
--- a/
ghc/lib/std/PrelHandle.lhs
+++ b/
ghc/lib/std/PrelHandle.lhs
@@
-388,7
+388,7
@@
sent to the operating system are flushed as for $flush$.
%*********************************************************
%* *
%*********************************************************
%* *
-\subsection[EOF]{Detecting the End of Input}
+\subsection[FileSize]{Detecting the size of a file}
%* *
%*********************************************************
%* *
%*********************************************************
@@
-430,6
+430,13
@@
hFileSize handle =
#endif
\end{code}
#endif
\end{code}
+%*********************************************************
+%* *
+\subsection[EOF]{Detecting the End of Input}
+%* *
+%*********************************************************
+
+
For a readable handle {\em hdl}, @hIsEOF hdl@ returns
@True@ if no further input can be taken from @hdl@ or for a
physical file, if the current I/O position is equal to the length of
For a readable handle {\em hdl}, @hIsEOF hdl@ returns
@True@ if no further input can be taken from @hdl@ or for a
physical file, if the current I/O position is equal to the length of