From a2575928b9ff24e0281832169f97634271d7685b Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 2 Feb 2005 15:23:59 +0000 Subject: [project @ 2005-02-02 15:23:59 by simonmar] doc fixes --- libraries/base/System/IO.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries/base') diff --git a/libraries/base/System/IO.hs b/libraries/base/System/IO.hs index da1575c83d..5fd8ac50d8 100644 --- a/libraries/base/System/IO.hs +++ b/libraries/base/System/IO.hs @@ -341,7 +341,7 @@ readIO s = case (do { (x,t) <- reads s ; -- -- This operation may fail with: -- --- * 'isEOFError' if the end of file has been reached. +-- * 'System.IO.Error.isEOFError' if the end of file has been reached. hReady :: Handle -> IO Bool hReady h = hWaitForInput h 0 @@ -359,9 +359,9 @@ hPutStrLn hndl str = do -- -- This operation may fail with: -- --- * 'isFullError' if the device is full; or +-- * 'System.IO.Error.isFullError' if the device is full; or -- --- * 'isPermissionError' if another system resource limit would be exceeded. +-- * 'System.IO.Error.isPermissionError' if another system resource limit would be exceeded. hPrint :: Show a => Handle -> a -> IO () hPrint hdl = hPutStrLn hdl . show @@ -407,4 +407,4 @@ hSetBinaryMode _ _ = return () -- the file until the entire contents of the file have been consumed. -- It follows that an attempt to write to a file (using 'writeFile', for -- example) that was earlier opened by 'readFile' will usually result in --- failure with 'isAlreadyInUseError'. +-- failure with 'System.IO.Error.isAlreadyInUseError'. -- cgit v1.2.1