From 3427092ef9719619eb6137bc9b7b4bddcb69b2f4 Mon Sep 17 00:00:00 2001 From: simonmar Date: Sun, 30 Jan 2000 10:08:27 +0000 Subject: [PATCH] [project @ 2000-01-30 10:08:27 by simonmar] comment fixup --- ghc/lib/std/PrelHandle.lhs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc/lib/std/PrelHandle.lhs b/ghc/lib/std/PrelHandle.lhs index a1faf99..c745b4b 100644 --- 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} +%********************************************************* +%* * +\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 -- 1.7.10.4