[project @ 2004-09-20 16:35:12 by sof]
authorsof <unknown>
Mon, 20 Sep 2004 16:35:12 +0000 (16:35 +0000)
committersof <unknown>
Mon, 20 Sep 2004 16:35:12 +0000 (16:35 +0000)
openFile: have Haddock comments mention openBinaryFile

GHC/Handle.hs

index 901a4ae..cde2ef5 100644 (file)
@@ -740,7 +740,9 @@ addFilePathToIOError fun fp (IOError h iot _ str _)
 --  * 'isDoesNotExistError' if the file does not exist; or
 --
 --  * 'isPermissionError' if the user does not have permission to open the file.
-
+--
+-- Note: if you will be working with files containing binary data, you'll want to
+-- be using 'openBinaryFile'.
 openFile :: FilePath -> IOMode -> IO Handle
 openFile fp im = 
   catch